Hi, I’m currently trying to learn coded workflows and specifically trying to recreate the example in this course: UiPath Academy . Now I have the problem that when I try to call the Object Repository elements with the dot notation as in the example, i.e. “uiAutomation.Open(BlankProcess2.ObjectRepository.Descriptors.xxx);” I get the error that is in the title: “‘Descriptor’ does not contain a definition for ‘xxx’”. But if I try to call the descriptor like this: “uiAutomation.Open(”xxx“);” everything works without any problems. Can anyone help me with this?
Here a screenshot of the file:
Then open the descriptor project and publish it as a library
then come back to the project where you want to use it and go to manage packages and install the descriptor package. Now you can see the descriptor library and screens as you need
Thanks a lot that worked. Then I am just curious why this isn’t mentioned and they explain it like you can use dot access when you add them local into the object repository