How to add button in UI page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 10:50 PM
Hi Team,
I have build a UI page that is getting data from multiple tables based on our clients requirement but now we want to add one custom button on UI page to generate PDF.(this should covert our Ui Page to PDF).
Let me know if anyone have configured something like this.
Thanks in Advance !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 11:31 PM
you can add a button, but converting that UI page to PDF you need to check PDFGeneration API
PDFGenerationAPI - Scoped, Global
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 11:47 PM
Thank you for your response. So in UI page client script i need to use this PDGeneration API.??
I wanted to know how can we use this in UI page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 12:27 AM
@Ankur Bawiskar ,I tried below script in UI page client script:
while my UI page looks like below:
How can PDF file can looks same as UI page?