Data Import error "Could not set Target Attribute..."

Version 4

    Verified Product Versions

    LANDESK Service Desk 2016.x

    Environment:

    Service Desk - All Versions

     

     

    Problem:

    Sometimes when performing a Data Import you will receive an error along the lines of "Could not set Target Attribute [Attribute].[Collection] ="

    eg "Could not set Target Attribute User.Groups =" or "Could not set Target Attribute User.Roles ="

     

     

    If the error you are having is pointing to the User.Title Attribute please see this article instead: http://community.landesk.com/support/docs/DOC-31655

     

    Cause:

    This occurs because there is a collection on the window used to set the default values in the Data Import mappings (ie, the default window for the Object).

     

    To get there, go to the Data Import mappings:

     

    ScreenShot001.jpg

     

    Right Click the Target Object and click on Default Values:

    ScreenShot002.jpg

     

    The following window is displayed (depending on the object itself, in this case it is the default End User window):

     

    ScreenShot003.jpg

     

    There don't appear to be collections on the window, but if you open it up in Window Manager you can see that there is one:

     

    ScreenShot004.jpg

     

     

    To fix the issue, remove the collections from the window then go back into the Default Values window in Data Import and click OK.  This will overwrite the original data stored for the default values, and remove the empty data for the collection.