ITSM / CI Collection import references from csv

Moderator: crythias

Locked
fabi186
Znuny newbie
Posts: 4
Joined: 15 Dec 2016, 10:39
Znuny Version: 5.0.12

ITSM / CI Collection import references from csv

Post by fabi186 »

Hi,
I’m trying to import ConfigItems using the CI-Attribute-Collection Plugin from capeIT. We have two ConfigItems – Software and User. The User should be referenced to Software. The referencing works well but when importing several Software CIs from csv, the User gets set everywhere to the first ID of User Config Items. Already tried ReferencingByKey “Name” or “Number”.
Even when I manually create a Software CI with properly referenced User, export it to CSV and import the exactly same CSV, the User gets overwritten with the first User CI created.

Anyone got a solution? Is it even possible to import the referenced ConfigItems?

My Attribute definition:

Code: Select all

{
      Key => 'Benutzer',
      Name => 'Benutzer',
      Searchable => 1,
        Input => {
            Type => 'CIClassReference',
         ReferencedCIClassName => 'Benutzer',
         ReferencedCIClassReferenceAttributeKey => 'Name',
         SearchInputType => 'Pattern',
        },
   },
Locked