Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have installed the PDFExport extension on Thingworx 7.2.4 on my local machine (Windows 10, Tomcat 8), then it works perfectly.
But when I installed on the our production server (Thingworx 7.2.4, Red Hat Linux, Tomcat 8), then createPDF service of the extension remain busy and never ends up ... there is no entry in Application log...
I've created openings inward to the server on ports 10000-10007, but no effects.
I've created my own extension to generate simple pdf, that extension works and generates pdf file and saves the file into a FileRepository. So there is no issue of creating files on the server.
Could you help me to use the PDFExport extension on our production server?
I can finally get it to work after installing:
Now there's another problem. The pdf is created from the mashup re-loaded separately (with the credential giving when calling the service CreatePDF). It's not the same as the one that is already opened. And the user has to enter again the username and password.
In addition, the mashup reloaded by the service doesn't have any logic of navigation with it. It's possible that the pdf generated contains only the layout of the mashup, without data.
Hi Quang,
The usecase for the extension is generally to save a Report as PDF. The mashups that you deliver as an input must have all their filtering in the URL, so please use URL parameters added to the Link.
The purpose of the service is not to be used directly, as with any other service in ThingWorx (as a general best practice), but to be wrapped into another service where you set all the needed parameters and then execute.
BR,
Vladimir
Hi Vladimir,
I see, thank you for your answer. I will use the extension in that way.
BR,
Quang-Dung