[PDF Helper] PDF HELPER (ext) merge error
Forge component by Pramod Jain
Application Type
Reactive
Service Studio Version
11.10.11 (Build 39018)

Hello,
I'm using the 'merge multiple PDF files' function of the 'PDF Helper' extension and everything worked fine, but now i get the following error every time I try to perform the action:

Based on what I found on the internet, the code property 'PdfReader.unethicalreading = true' must be added, but the extension doesn't have input parameters (or some similar property) for this type of properties:


Does anybody know how I can fix it?

Note: PDFs do not have a password.

Regards!
mvp_badge
MVP
Solution

Hi Christofer,

PdfReader.unethicalreading = true is C# code, so you would need to edit the extension via OutSystems Integration Studio and add that line of code on the right spot. If it needs to be optionally set you would have to add in to the extension method JoinPDF a boolean input parameter that you can use in the extension code to set the PDFReader.unethicalreading variable.

Line 344 is probably the line where you should add it, the JoinFiles method is used by the JoinPDF action

Regards,

Daniel

@Daniël Kuhlmann Thank you very much! It worked.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.