Hello Community,
I´ am working with the forge componente HTML2PDF, but I have this problem and I don´t know how to solve.
I installed the component in my environment and configured it as explained in this link: https://success.outsystems.com/Documentation/How-to_Guides/Development/How_to_create_reports_using_HTML2PDF
the action it´s configured like image bellow:
In any case, the oml version of the screen is attached.
Regards,
Jessica.
Hi Jessica,
I think you will need to upload again and check the option: Write Binaries to Running Dir
This is the valid option for cloud environments (If I'm not mistaken)
Can you try again, following that step?
Cheers.
Hi Helder,
Hi @Jessica Marques ,
Glad I could help!
Hi Jessica,I notice you only have added one binary: wkhtmltox.dllUsually I also add these two: wkhtmltopdf.exe, wkhtmltoimage.exe
Try to add these (since they are both typically used) and let's see if it solves your issue.
Cheers!
Hi, Marco
I inserted, but the problem stil persiste. (There are the same file on Required and Additional Binaries)...
kind regards,
I see from your screenshot that Binaries Directory is just \User. Any reason for that?
I would say that you need a full path, like D:\User
So, the error can just be that binaries are added to a folder that IIS cannot reach (or invalid).
Can you check if the path for Binaries Directory is valid?
I reinstalled the application in my personal environment and redid the configuration. And yet the error persists. When you say check the path, do you mean the path these files came from?
Now, the configuration it is like that:
i found sometimes html to pdf not work perfectly, better output to excel and then convert to pdf