How to create a list banner button in a table to down load in pdf the list of records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 04:54 AM
I have created a list banner button in the problem table to down load the list of related problem to incident,
the scripting part i dont know what to write.
.
This button is similar to export pdf in list view.
silmilar kind of button neeed in problem banner. to down load the list of records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 04:58 AM
so user will select multiple records and list banner when clicked should download pdf of those selected records?
if yes then this should work
1) get the selected records
2) form the url for attachment and iterate and open in new tab and the pdf will be downloaded
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
05-20-2024 05:00 AM - edited 05-20-2024 05:00 AM
solution for something similar I shared 5 years ago; check that and enhance. I shared it for list bottom or list choice; you select List Banner
I want to generate a pdf of selected records in a list?
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
05-20-2024 05:48 AM
I have used this script, but it is kept on downloading
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 05:51 AM