if I understood your application case correctly, you have create a variant of a component APP. This variant contains an embedded object and you want to access this embedded object when accessing the original component APP. In such case, the interface of APP is determined by APP itself. New members added in variants (e.g. the object) are not found in the original component APP. Therefore they are not accessible. You can imagine, the variants may also be activated/deactivated at the runtime. Exposing members existing in derived variants would expect a modification of the original component's interface.
If it is necessary to acess the members defined in a variant, add a method to the original component ( e.g. GetMyObject()). In the original component the method returns null since there is no object found. In the derived variant, override the method and return the object.
I hope it helps you further.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!