Skip to main content
1-Visitor
September 28, 2018
Solved

Download TimeSeries chart as a picture

  • September 28, 2018
  • 7 replies
  • 4781 views

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

Best answer by mnarang

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
September 28, 2018

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 

1-Visitor
September 28, 2018

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

5-Regular Member
September 28, 2018

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 ?