Skip to main content
13-Aquamarine
January 11, 2019
Solved

How to pass mashup parameters to ServerAddress input for PDF Extension CreatePDF Service?

  • January 11, 2019
  • 1 reply
  • 1719 views

Hi,

I am using the PDF extension to send out pdf reports.

For the static mashup able to generate pdf report by using Create PDF service but, for the dynamic mashup getting blank screen in pdf report.

I want to pass the parameter's to the create pdf service. How can I do this job?

 

Please provide some idea?

 

Please find the attached screen shot.

 

Thanks & Regards

Nagaraj Enamate

Best answer by jbester

Hi @NERaj,

 

You need to just pass the mashup parameter with the required dynamic value in the URL that you provide in the CreatePDF service.

 

e.g. <host name>/Thingworx/Mashups/Runtime/index.html#mashup=<mashup name>&<mashup parameter>=<value>

(localhost/Thingworx/Mashups/Runtime/index.html#mashup=LogViewer&LogName=ApplicationLog)

 

I hope this helps,

Kind regards,

Johan Bester

 

 

1 reply

jbester14-AlexandriteAnswer
14-Alexandrite
January 11, 2019

Hi @NERaj,

 

You need to just pass the mashup parameter with the required dynamic value in the URL that you provide in the CreatePDF service.

 

e.g. <host name>/Thingworx/Mashups/Runtime/index.html#mashup=<mashup name>&<mashup parameter>=<value>

(localhost/Thingworx/Mashups/Runtime/index.html#mashup=LogViewer&LogName=ApplicationLog)

 

I hope this helps,

Kind regards,

Johan Bester

 

 

Support
January 25, 2019

Hi @NERaj.

 

If the response posted by @jbester helped to resolve your issue, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon