Deploy xml/text files with package in Pega Robot Studio v22.1

How do you include misc. files (xml, text, json, etc.) in your packages when deploying to Robot Manager ?

I’ve tried to add a ‘deployable file’, which puts the files in a Miscellaneous folder inside your project in Pega Robot Studio, but after deploying fo RM and pulling the project down, I can’t find that file anywhere in the package. Am I doing something wrong?

Thanks

@Thierry_SLFThe sample automation projects included with the installation of Studio are contained in C:\Program Files (x86)\Pegasystems\Pega Robot Studio v22\Extra Resources\Sample automation projects. Each of these has an example of using (at Runtime) a file that has been attached to the project. Files are no longer extracted to disk, so you must use this method to read the contents of any files included with the deployment. From there, you may also save them to disk somewhere if necessary.

Search the Toolbox for the word “package” and you’ll find the three methods included for working with files attached to the package.

To attach a file to be used at Runtime, switch to the Project tab. Select File–>Add–>Advanced–>Deployable file.