Generate pdf button on the service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 01:45 AM
My requirement is to print the record producer variables of the record in kthe pdf file when user click generate pdf button on the ticket page of the service portal..I want suggestion where to plaçe button inside the widget of the ticket page and how to print all the variables in the generated pdf file.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 11:41 AM
Hello @Mabubi
If you requirement is to simply export the form is pdf format, then you actually don't have to create a custom ui action for that.
This feature is already available on the 'form' widget.
So here is what you have to do:
- After the record producer has been submitted, you need to redirect the user to the form page. The URL would look like this: https://xxxx.service-now.com/sp?id=form&table=incident&sys_id=sys_id_of_the_incident
- Here on the widget, you would have the option to export to pdf (screenshot attached)
- also, the variables that the user has provided during submission of the record producer are available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2023 03:36 AM
Thanks for ur reply.i tried using form page.Export to pdf option is not printing request details .I meant record producer variables and values is not printing under the request details tab.can u pls suggest me some solution for this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2024 05:51 AM
Any updates on this, got a similar requirement?