Skip to main content
Jan 11, 2019 12:09 PM UTC
Solved

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

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

jbesterAnswer
Jan 11, 2019 2:05 PM UTC

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

 

 

2 replies

jbesterAnswer
Jan 11, 2019 2:05 PM UTC

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

 

 

Jan 25, 2019 4:21 PM UTC

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