VarianAPIs / Varian-Code-Samples

Code samples for ESAPI and other Varian APIs and web services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building PDF reports

eljj opened this issue · comments

commented

I am developing Eclipse API scripts (V15.5) that generate PDF documents using the iTextSharp assembly. We are an all thin client Citrix Full Scale Cloud configuration, I build these scripts using Visual Studio 2017 on my local workstation then upload them the published scripts folder in the cloud. The issue I am having is in order to have the script properly identify the iTextSharp assembly I have to build it as a binary plugin. That works, but then I have issues with disconnecting the dll for the next use. Is it possible to have the iTextSharp assembly loaded somewhere in the cloud so that a plug in script that compiles on Eclipse can find iTextSharp?

Hi,
Have you tried running iTextSharp from within the Citrix login? Try accessing it from the Drive ( it might be called I drive or something).You need to map your drive first to your computer where you have installed ITextSharp and you can run your program by going to the location of your installed program from within the Citrix.

commented

Hello,
When we have this issue with Binary plugins, the first thing we try is to instantiate a dummy variable from the assembly that is not found. For instance you could put ITextSharp.SomeClass dummy = new ITextSharp.SomeClass(); immediately in the Execute method, and that will ensure that the ITextSharp assembly does not get missed by the Eclipse runtime.