CSV Import - IDREF and Custom Vocab as metadata

We use CSV Import module for importing both item& media into omeka site.
Some of metadata are making reference to IDREF or Custom Vocab.
These metadata are imported as plain text and we lost the benetif to use IDREF or Custom Vocab;
What is the way for solve this issue ?
Many thanks for your help.
Hervé

CSV Import has an option to let you set what type the values will import as for a column; you set this with the “wrench” icon for the column to bring up the Options sidebar.

Custom Vocab has support for including its vocabs in the list of types you can choose from, so you should find your defined vocabs there and available to choose as the type. I’m not sure how you’re doing IDREF… importing them simply as URIs would work but depending on the module (if you’re using a module) there may be other options.