Object Repository Pairing Issue

Hi @UiPath_Community

i have created an object repo and published it as library to use in another project.

Now, when it comes to pairing of ui element to descriptors from Object repo, there are 2 ways to do it:

  1. drag and drop the descriptors directly in project workflow and activities compatible with that descriptor show up, you select and pairing done.
  2. add activity first, then drop the descriptor from object repo onto that activity for pairing.

For me, library where i have created object repo, I am able to do pairing using both options mentioned above.

However, when i use that library in another project and try to do pairing, I can only use option 1 and never the option 2. why?

Please note: It doesn’t make much of a difference when we are creating project first time. But it makes alot of difference when we have updated object repo and now trying to re-do the pairing with updated descriptor. In this case, you would want to go ahead with only option 2) as option 1) means creating that activity again, renaming them etc etc. When there are multiple updates to object repo, this can be stressing.

Even as per object repo training on academy for 2024.10v, it should work with drag and drop in project consuming object repo library.

But it doesn’t for me.

have anyone faced this issue? if yes, how did you solve it?

package version for system and ui is as shown below in both the library and the project consuming that library:

image

Regards
Sonali

Hello @sonaliaggarwal47

That sounds like a bug.

You probably already know the usual suggestions/questions :sweat_smile:

  • Which version of UiPath Studio are you running?
  • Is this happening on other libraries/activities/projects/machines?
  • Have you tried reinstalling Studio?

A wild guess but could you try and add the following line to your project.json file and reload the project?
(Take a backup first)

"modernBehavior": true,

Regards
Soren

Hi @SorenB

Thank you for your response :slight_smile:

We don’t use object repo heavily as of now. So can’t tell if any other object repo is behaving like this or not. I think we only use it in 1 more project but in that one also, it’s not being used as a library. But I will still re-confirm on this. Thanks for the idea :slight_smile:

Studio version - 24.10.6
And it’s modern design only.

We have recently moved to this LTS version.

Regarding reinstalling studio, no I haven’t. This thought didn’t hit my mind as it’s working for the project where it is created but not for the project where it is being consumed as dependency :thinking:

It’s weird. May be I should also raise ticket with UiPath and seek support on this. If this is a bug, we should be able to get patch fixes.

Regards
Sonali