How to Import Excel file record in CMDB table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2018 09:56 PM
Hi
I have excel date with 100 record for CMDB computer table , now i want to insert that all records in CMDB computertable if record is already exist means it should update with existing record.
please help me how to archive this
- Labels:
-
Best Practices
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2018 10:00 PM
you can use data source here..
file type would be "excel"
then create transform map to updated the record in target table. make sure you mark one coalesce while mapping the field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2018 10:12 PM
Hi
i tried with importset using user record it is showing this below error log

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2018 10:16 PM
because it has find the user that's why did not insert and given error
can you try with data source and set coalesce on one field to make sure that would be unique and do not insert duplicate record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2018 11:08 PM
Hi,
You can do this by using import sets.Import can be done using load data or data source but data source is reusable.
Create transform map and then then do field mapping manually by mapping assist related link or automatically by using auto map matching fields related link on transform map.
For updating the record if its existing you need to make the field you want to be updated as coalesce is true using field maps.
Then run the transform map and see the detail logs whether all rows are transformed successfully or not.
Please mark my answer as correct/helpful if it helps you to find the solution.
Thanks and Regards,
Apurva Malewadikar