Programatically find to which package an activity belongs or the opposite way (list with all activities for any package)

I need to somehow programatically (so without using Studio) build an association between the activities used in an UiPath project and the packages to which the activities belong and list them.

For the moment I did not find any solution and wanted to ask if there is anywhere a public and up-to-date location where this association (e.g. a list with activities for each package) could be queried, like a github repo or some place on UiPath portal.

I am currently working on a similar project in powershell. If I find a nice way of getting this information. I will let you know.

What I can currently do is get annotations and argument texts from UiPath xaml files. But it must also be possible to retrieve information about packages and activities (I have no evidence that this is true yet though).

1 Like

I’ve had a deep look inside the workflow *.xaml files and have not found any information about the association between activities and their packages.

The only things you may find are the namespaces, which do not help much since most UiPath activities have “ui” prefix.

There is also a list with used packages, but no link to the respective activities and the list also may contain unused packages.

Hello, just wondering to check if we had any solution for this?

Hi @Teodor.Tite and @pk123,

Although my implementation does not focus exactly on the required need, it may still give you some ideas to work on.

  1. Here is the Marketplace link : Project Documentation using PowerShell - RPA Component | UiPath Marketplace

  2. Github PowerShell link : GitHub - jeev20/UiPathProjectDocumentation: A script which can document the name of each workflow, the function of each workflow, the names of the arguments used, their data type and corresponding annotations.

  3. Output : https://jeev20.github.io/UiPathProjectDocumentation/

Feel free to tweak the PowerShell script to iterate through each activity and possibly get its parent package. What I observe is there is a namespace for each activity ui : FilterDataTable in the below example. But as @Teodor.Tite originally noted there is no link to the package where this activity originates from.
image

2 Likes