I created an new extension. On profile, I created under de Table Metaclass a new boolean attribute.
When I use this new attribute (%D:myExtensionAttribute%) on DBMS Properties\ORA11GR1::Script\Objects\Table\BeforeCreate, I can access the value expected correctly.
When I use this new attribute on DBMS Properties\ORA11GR1::Script\Objects\Reference\BeforeCreate, I can't access the expected value and I got an error: [translation error] unresolved member:
I tried without success:
%D:myExtensionAttribute%
%Table.myExtensionAttribute%
Is there a way to access this value?
Thanks in advance! Best regards!
Request clarification before answering.
The answer by Chris is correct, just don`t forget the .D: option, since your extended attribute is defined outside of the definition file. So correct macro should look like this:
%.D:ParentTable.myExtensionAttribute%
%.D:ChildTable.myExtensionAttribute%
HTH,
Ondrej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Ondrej!!!! Thank you Chris!!! Now it works!!!
I needed to use the ".D:" option. I didn't know that the reference to the table changes depending on the escope. When using on Reference, I needed to use %.D:ChildTable.myExtensionAttribute%. When using on Index, I needed to use %.D:Table.myExtensionAttribute%.
Thank you!
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.