Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unique Importobjcts

Deleted user April 9, 2018

Hi Guys,

last week I create an bashscript to generate a csv file.

Everythings fine with this but there is one "little" problem.
If i import my CSV 5 times, my objects are not updates - they duplicated. Can you explain how to update my objects and not duplicate?

1 answer

0 votes
Alexander Sundström
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2018

Hi Danny,

Yes, that is part of the identifier concept for the imports, which you can read more about at https://documentation.riada.se/insight/latest/insight-manager-s-guide/import-and-synchronization/general-import-concepts

But basically the identifier is used to identify the object in Insight, if it's not found based on that, a new object is created.

Let's say you have set Name as the identifier, if not an object with the same Name is found, a new object is created, if not a new Object is created.

So based on your description, it seems like you use something as an identifier, or using multiple identifiers that is not found in Insight, could that be the case?

One example is when you use the Key as the identifier, if the Key is not found, a NEW Key will be set, as this is a system attribute. IE it will not set the value from the CSV. That is one use case where duplicates will be created.

Cheers
Alexander

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events