One XAML file for several projects

I would need to use one XAML-file for several projects. The module reads a parameter file that shall be used in all projects. I solved it for now by creating the folder manually on every maskin I deploy the projects too, but would be nice if I could deploy the module by deploy after a change, or include it in the deploy of the projects.
I would even like to share more that just that modules between projects. That would avoid double changes.

By the way, I would even like to include the input directory structure and config-file if possible :slight_smile:

You can invoke this workflow for re-usability in many projects.

Regards,
Karthik Byggari

Thanks for a quick answer @KarthikByggari
That is how it is done, the problem is that the file I call is placed outside the project directory as it is not part of only one project, that is why it is not deployed together with the rest in the package. If I then start the robot it gives an error message saying that the init.xaml-file is missing.

It has to be in the project folder or any shared folder for all projects.
Give a try.

Regards,
Karthik Byggari

1 Like

The robot is not running on the same maskin as the STUDIO is. We have DEV and PROD. I normally simply copy the package to PROD and it has all dependencies which are in the same directory, but not in an external directory.

@StefanSoyka

You can create library and can use it in which ever workflow you want by just installing that package. Please check below thread to get know more details about it.

https://docs.uipath.com/studio/docs/about-libraries

1 Like