#BetaFollow-up - Library (Reusable components)



My bad. For 2 I skipped the “in library” part.

I guess the thinking is that the libraries are “highly” redistributable pieces that should not have pointers to folder paths but probably there may be needed. I was curios if this can’t be done inside an Invoke Code activity.


What do You mean by inside an Invoke Code activity? Is it possible to invoke workflow from code activity?

My original goal was to call Library from Project X so that based on input parameter Library would then call xaml file from Project content. But it might not be possible if Project and Library are executed in different contents? I assume I can provide absolute path to Library so that actual workflow from Project content could be executed but the environment would be different so that relative paths and Package manager content would not be same -. or is that correct assumption?


Invoke Workflow isn’t possible from Invoke Code.

Library can itself be located in your choice of folder location and your dependencies file should be modified to point to that location for the library if you chose not to use Orchestrator.

However it is not possible to give dynamic expressions as argument when invoking a workflow file in a library.

In .Net words, UIPath library is a compiled dll and can not contain code that will need to resolve invoking workflows through reflection. If you want to load dynamic workflows based on input arguments, you will have to build a factory model where in you will have to write IF/ Switch Case.

If (arg1 == “A”) { Invoke Workflow A}
If (arg1 == “B”) { Invoke Workflow B}



I am quite naïve in this technology. So could someone please help me with below doubts on this topic?

  1. Can I publish the library to the Orchestrator? If yes, then where will it be visible?
    The problem is that currently when I try to publish a library, the Orchestrator Option is deactivated, (I am using the community version) so I assume libraries cannot be published to Orchestrator.

  2. Can someone else use the library published by me? If yes, then how?
    Do we need to maintain a common location for the access?

Thanks for your time!


how to add icon to my library in uipath 2018.3.2


Hi @venkat4u

It is considered for the following releases. Stay tuned :slight_smile:



thats awesome…

may i check another one, is there any way i can add checkbox/drop down
in Library input arguments?


Hi @venkat4u

Could you clarify whether you mean a set of default values that would be available for particular fields in you Library activity properties?


i mean, in the Write Range acitivity, we have property called, AddHeaders…which is check box.



I got you now. I believe this is also on the list already :slight_smile:


wow. this is so cool. looking forward for more such stuff.