Forum Discussion
Hi Sameer,
You wrote:
>>>
... it fails to find a certain component in the FullName path. If however, I use the Aliases name, it passes.
<<<
The behaviour you describe is quite expected - the Name Mapping repository (including the Aliases tree) is supposed to help you avoid problems with using object full names. Thus, it looks like the QtObject("ContainerLeft") object is kind of dynamic: it may either disappear from the tree or appear in a different place which makes the FullName property you copied before invalid. I suggest that you keep using Aliases to refer the application objects. If you encounter any issues, let us know!
Thank you Julia!
A follow-up question - is it always recommended to use the Aliases name and not use the Full Name?
Regards,
Sameer
- tristaanogre7 years agoEsteemed Contributor
If you have Aliases and mapped objects, it's always better to use that... Aliases and NameMapping have a lot of behind the scenes helpers that make finding dynamic objects, objects that may not appear immediately, etc., work better.
- sameerjade7 years agoFrequent Contributor
Thank you Robert!
Related Content
Recent Discussions
- 2 days agovladd1