How export the dependency map in XML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 12:47 AM
Hello everyone,
I have recently discovered the dependency maps, and I would like to export the views in xml with all the relationships. I suppose the dependency map looks at certain ServiceNow tables, and joins the information together, so I would like to be able to export that view in xml and choose additional fields to include.
Do you know a way I can do this?
Kind wishes,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 09:51 AM
I am looking for the same info... any leads?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 11:36 PM
Exporting the dependency views directly in XML format with all the relationships is not directly supported in ServiceNow. However, you can achieve this by exporting the individual tables involved and their relationships. Here are the steps:
1. Identify the Tables: The dependency views are built using the CMDB (Configuration Management Database) tables in ServiceNow. Identify the tables that are involved in your dependency view. This could be the cmdb_ci table and its child tables like cmdb_ci_server, cmdb_ci_application etc.
2. Export the Tables: Navigate to each of these tables in ServiceNow and use the 'Export' option to export the records in XML format. You can do this by opening the table list, clicking on the settings/gear icon, and choosing 'Export > XML'.
3. Include Additional Fields: While exporting, you can choose to include additional fields in the XML. This can be done by personalizing the list columns to include the additional fields before exporting.
4. Export Relationships: The relationships between the CI's (Configuration Items) are stored in the cmdb_rel_ci table. You can export this table as well to get the relationships in XML format.
5. Combine the XMLs: Once you have the XMLs for the individual tables and relationships, you can combine them as per your requirements. This would require some XML processing and manipulation which can be done using any XML processing tool or programming language.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2026 09:51 AM
I'll assume there has been no change in this and you still can't export this sort of data ?

