UCMDB and UD Practitioners Forum (Previously CMS)
cancel

load values to "list of strings" type attribute using Import from csv Job

Highlighted
Mahesh_V
Occasional Advisor

load values to "list of strings" type attribute using Import from csv Job

did any one know or successfully loaded values to "list of strings" type attribute using import from csv job ?

Please advise.

 

Thanks,

Mahesh

6 REPLIES
b_bravi
Frequent Visitor

Re: load values to "list of strings" type attribute using Import from csv Job

Do you mean loading of the strings into the CIT manager ?

Mahesh_V
Occasional Advisor

Re: load values to "list of strings" type attribute using Import from csv Job

I meant define an attribute as "list of strings" data type and then load values in that attribute using "import from csv" job.

b_bravi
Frequent Visitor

Re: load values to "list of strings" type attribute using Import from csv Job

I dont think this is possible, at least not from the csv file ..import..

we  can import CIT from the xml format, while doing this will it allow, I dont think it will.

But you can try once.

 

Another part will be look for any API which you can try to use.

Mahesh_V
Occasional Advisor

Re: load values to "list of strings" type attribute using Import from csv Job

I defined a custom list in uCMDB instead of defining the attribute as "list of strings" and was able to load the data succesfully.

 

Thanks,

b_bravi
Frequent Visitor

Re: load values to "list of strings" type attribute using Import from csv Job

so you created the list first then tried to import.

Good to know that it resolved your issue.

Mahesh_V
Occasional Advisor

Re: load values to "list of strings" type attribute using Import from csv Job

Yes. defined the list first and then created the attributes.

//Add this to "OnDomLoad" event