Skip to main content
1-Visitor
Sep 28, 2018 6:58 AM UTC
Solved

Download TimeSeries chart as a picture

Hi Developers,

 

I have developed a mashup which has a time series chart showing data (image attached). The requirement is to get this chart/mashup in a pdf file. Is there any default widgets to achieve this functionality.

 

Thanks and Regards,

Saran

mnarangAnswer
5-Regular Member
Oct 22, 2018 8:34 AM UTC

You have to create the server address and map it to the createPDF service parameters on the mashup .Even i found one more post related to your query which directly print out the current mashup on button click 

 

Go through this post and see if this can solve out your use case --

 

https://community.ptc.com/t5/ThingWorx-Developers/PrintButton-Extension-project/m-p/532671

 

 

Thanks,

Mukul Narang 

 

 

7 replies

5-Regular Member
Sep 28, 2018 7:23 AM UTC

There is a PDF Extension on MarketPlace - https://marketplace.ptc.com/apps/193615/pdf-extension#!overview

You can download this extension and import in in Thingworx .After importing it will bring a resource called PDFExport and under this you will get a service called createPDF .Using this service you can take a snapshot of any mashup as a PDF file .

 

Thanks ,

Mukul Narang 

Translate
1-Visitor
Sep 28, 2018 11:56 AM UTC

Hi @mnarang,

 

Thanks for your response.

 

I have tried the service and a pdf is getting created but it seems to be blank. 

 

Regards,

Saran

Translate
5-Regular Member
Sep 28, 2018 12:10 PM UTC

Can you put on the screenshot of createPDF service arguments ? Just ensure you are passing correct App Key and what is the value that you are passing in server address ?

Translate