- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 12:49 PM
I thought I did this once a few years ago, but my searches have been fruitless thus far. I wish to export an ENTIRE table from ServiceNow to Excel. So I want ALL data records and ALL fields exported (including fields like sys_id) to Excel.
All the instructions I find on-line show you how to export from a Report or a List View. This is no good, as I want EVERY field in the table included in the data export. I am pretty sure that there is a trick to doing this, and I did it some years ago, but I cannot remember how. The number of records should not be an issue, as there are under 100 records in this table. There is just a lot of fields in the table (128 to be exact).
Thanks
Solved! Go to Solution.
- 26,122 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 06:37 PM
Hi @jmiskey ,
I trust you are doing great.
By the help of “sysparm_default_export_fields=all” parameter , Sys ID can be exported.
This parameter tells the web service to export all fields from the table including the Sys ID. Beware that this also brings every other field along with it.
Steps:
1. Navigate to the list of records.
https://<instance>.service-now.com/problem_list.do?
2. Build your filter (If required as per business need)
https://<instance>.service-now.com/incident_list.do?sysparm_query=active (I have applied filter as Active is TRUE)
3. Copy URL and place into new browser window and Add &CSV&sysparm_default_export_fields=all to the end of the URL
https://<instance>.service-now.com/incident_list.do?sysparm_query=active&CSV&sysparm_default_export_fields=all
4. Press Enter
5. A CSV file with all fields including sys_id will get exported.
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 01:32 PM
Hi @jmiskey
May be this will helpful
https://www.servicenow.com/community/itsm-forum/exporting-all-fields-from-a-list/m-p/503745
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 06:37 PM
Hi @jmiskey ,
I trust you are doing great.
By the help of “sysparm_default_export_fields=all” parameter , Sys ID can be exported.
This parameter tells the web service to export all fields from the table including the Sys ID. Beware that this also brings every other field along with it.
Steps:
1. Navigate to the list of records.
https://<instance>.service-now.com/problem_list.do?
2. Build your filter (If required as per business need)
https://<instance>.service-now.com/incident_list.do?sysparm_query=active (I have applied filter as Active is TRUE)
3. Copy URL and place into new browser window and Add &CSV&sysparm_default_export_fields=all to the end of the URL
https://<instance>.service-now.com/incident_list.do?sysparm_query=active&CSV&sysparm_default_export_fields=all
4. Press Enter
5. A CSV file with all fields including sys_id will get exported.
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 05:56 AM
Thank you all! That works perfectly!