We are trying to upgrade our automation solution from version 19.1.125 to 22.1.19 and while performing same , we observed that Extensions for XSL files are showing as unknown also we are unable to open same in Pega Robotic Studio. These files contains HTML, CSS and Javascript Scripts to format and display Response data. Kindly guide to fix it or provide an alternative solution for same.
@AswathiK16587086 Because 22.1 is no longer using Visual Studio as the development environment, the IDE will now only support basic file types. For ones that it doesn’t support, you can simply right-click the file and select “Open containing folder”. From here, you can edit these files in whatever editor you please.
Since it is likely that you want to use these files at Runtime, you will need to do a few things.
- Make sure that whatever project artifact you have that uses these files is not starting when the project starts. You will want to start it in an automation off of the ProjectStarted event.
- You will need to place these files into a Deployable files folder (from the Project tab, select Add–>Advanced–>Deployable Files folder).
- You will create an automation that you call off of the ProjectStarted event to save these files to a known location. On the Toolbox under Runtime\Runtime you have a method named SavePackageFile. You would use this to save the files to a known location (C:\Temp\PegaProjectFiles for example).
- You will need to make sure that whatever artifacts you have using these files are pointed to the new location.
- Finally, you would start the artifact that uses those files.
