Question
Infosys
IN
Last activity: 6 Nov 2023 10:14 EST
What is exact steps to add libraries to be used in Script component?
I was trying to use PdfSharp in my script, So I added in manage references and I then i wrote code and when i tried to validate it giving me errors related to references.
So what is exactly the right way to add libraries, Do i have to keep dll in the project folder.
And Is there anyway to add iTextSharp library?
@ShreeHarshaN16839089To add a reference to an assembly in a script,
If your assembly is not one already present in the installation folder for Pega Studio or it is not one already present in .Net, you'll need to place it along with any of its references in the %AppData%\PegaSystems\PublicAssemblies folder. Once here, you can then follow the steps above to add the reference into your script.
Incidentally, you might not need to use a script to do what you're trying to do. Pega Robotics Studio has great support for reading PDFs and can even fill out PDF forms and even highlight some PDFs.