Assets external import: how to add values to select list attributes in schema + other attribute types

Hi,

We are trying to script an external import for assets. Our schema and mapping creation works partially.

We would like to create other types of attributes than the standard ones that we can find in the documentation.

At the moment, following examples cause problem:

  1. We want to import the select list values too. We have tried multiple options, but until now nothing works. What should we use instead of ‘typeOptions’ or what am I doing wrong?
    { "name": "codeLanguage", "description": "", "type": "select", *"typeOptions": [* "asp.net", "python", "php" ] },
  2. How can we create User attributes? What type should we use?

Any tips regarding more extended documentation?

Thanks in advance for the help.

I haven’t used the imports API myself, but the normal Assets REST API uses the field options with a comma separated list of all chosable options in a single string. So maybe you can try that.

Hi @t-bundt ,
Thank you for replying. I have tried indeed to use the Assets REST API fields but unfortunately without any success… :frowning: