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?
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.