This question might have a simple answer, but I cannot really seem to see it…
Assume (as an example of a use case) a window collection made as a dynamic component. The user can change width and height (and other things) from Component Options dialog.
What I would like to do is to populate the Advanced Attribute “Size” field (in the Entity Info dialog) directly from the logic in the Dynamic Component, such that after the user has chosen width and height from the dialog, the “width x height” information appears in the Size text box in Entity Info.
After this the Size field could be used in reporting, just as for other non-dynamic components.
My problem is that in the Component Attribute dialog the Add Attribute functionality gives me a list of predefined attributes to access (and custom of course),
but Size is not amongst them.
So how could one from the Dynamic Component functions access the Advanced Attribute “Size” field (or “Price” or “URL” for that matter)?
In some documentation I find:
While this is true for non-dynamic components, this is no so for dynamic components. Setting a value in one does not appear to alter the value in another instance of the same Dynamic Component.
Other documentation hints that there is a way to do what I want:
So the question stands: how can I access the Advanced Attribute fields from within Dynamic Components?
Anyone with the answer, please?