How to download the request as pdf from portal and not from native

suuriyas
Tera Contributor

HI Community,

 

I have a requirement where i need to create a button in serviceportal.

Purpose of this button is once the end user submit the request and when they click the button it download it as pdf of the request 

 

How can we do it.

Is there any other alternative way ? instead of creating a widget for it.

Main requirement is end user wanted to download the ritm as pdf from portal and not from native

6 REPLIES 6

HI @Shruti  ,

 

Can you please elaborate how can we do that.

Because i want end users to download the pdf and no in between person to download for them from native to send to them.

Idea is to have the option for them to download or have a pdf copy to them without any other persons intervention 

 

@suuriyas

One method is to include a link to the PDF within the email. 

To provide a link to a PDF in an email:

  • Set up an email notification 
  • For example, when an incident is created, configure the email notification to include a direct link to the relevant PDF.

Shruti_0-1764770582870.png

Shruti_1-1764770632686.png

URL - /incident.do?sys_id=${current.sys_id}&sysparm_record_rows=59&sysparm_record_target=incident&sysparm_record_list=active%3Dtrue%5EORDERBYDESCopened_at&sysparm_record_row=1&sysparm_stack=no&sysparm_force_row_count=25000&sysparm_media=print&sysparm_use_polaris=false

 

 

Other way is use pdf generation APIs

 https://www.servicenow.com/community/itsm-forum/generate-pdf-file-for-catalog-variables-and-attach-i...

https://www.servicenow.com/community/developer-articles/generating-custom-pdfs-using-the-new-pdfgene...