
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 07:54 AM - edited 02-07-2025 08:01 AM
Hi All,
I am trying to export related list tab data to excel/pdf sheet using UI Action button. Code is working as expected but last column of the list view is not being exported to the sheet.
Why it's skipping the last column ? How I could fix it ?
Here is the script I am using,
output :
TotalCount is missing exported pdf,
Regards,
Virendra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 02:43 AM
Ensure you are in correct update set
Configure the list layout on that related list table and then add that and save.
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
02-07-2025 10:14 PM
did you check that column is from which table? is it a dot walked column on list
Did you see the related list columns is personalized for some user?
May be the view doesn't have that Total count column but user has added that column by personalizing the 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
02-08-2025 06:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 06:27 AM
did you try to see by directly exporting the related list table using normal list and see if that column gets exported?
Also are you checking with admin?
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
02-10-2025 01:19 AM
I could not have an option to export it directly (snap). Its custom table added in related list tab.