cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Where can I download PDF Extension for ThingWorx?

Rajesh_Kumar
7-Bedrock

Where can I download PDF Extension for ThingWorx?

 
1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

Try attached extension.

 

This will give you the api`s to export to pdf.

 

var params = {
FileRepository: '<repository name>' /* THINGNAME */,
Rotated90Deg: undefined /* BOOLEAN */,
AppKey: '<app key>' /* STRING */,
ServerAddress: '<mashup url>',
OutputFileName: '<file name>' /* STRING */,
Resolution: undefined /* STRING */
};

// result: STRING
var result= Resources["PDFExport"].CreatePDF(params);

 

Regards,

Janakiraman P

View solution in original post

3 REPLIES 3

Could you please open a support ticket through http://support.ptc.com? A TSE will be able to help you.

Hi,

 

Try attached extension.

 

This will give you the api`s to export to pdf.

 

var params = {
FileRepository: '<repository name>' /* THINGNAME */,
Rotated90Deg: undefined /* BOOLEAN */,
AppKey: '<app key>' /* STRING */,
ServerAddress: '<mashup url>',
OutputFileName: '<file name>' /* STRING */,
Resolution: undefined /* STRING */
};

// result: STRING
var result= Resources["PDFExport"].CreatePDF(params);

 

Regards,

Janakiraman P

slangley
23-Emerald II
(To:Rajesh_Kumar)

Hi @Rajesh_Kumar.

 

If you feel your question has been answered, please mark the appropriate reply as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Top Tags