Exporting a Variable Editor to PDF

santhoshb
Kilo Expert

i   want   to export the variable editor to PDF export on RITM form. After some workaround found indirect way,

Printer friendly version -> Print->save as PDF.

Is any one   has direct   solution or alternatives.

6 REPLIES 6

Brad Tilton (Cloud Sherpas) What I believe the original poster, myself, and others in this thread are looking for is an easy way to export the variable editor data from an RITM. The XML data for the RITM does not show this data.



Thanks.


Manjul Katare
ServiceNow Employee
ServiceNow Employee

Hi Santosh,



How about creating one placeholder field on RITM which will copy/fetch the data from variable.



Just to try with I wrote a onLoad Script:



  var catchData = g_form.getValue("variables.varName");


  g_form.setValue('u_placeHolder'Field, catchData);



Now if I use the same approach using BusinessRule after insert, I should get the value in the new field and then I can easily export to PDF.


Its not an elegant solution but if you really need it, this might be one way to achieve it.



Hope this help!


-Manjul