ExLibrisGroup / alma-csv-user-load

Load users to Ex Libris Alma from CSV files
2 stars 0 forks source link

adding multiple IDs #99

Closed joeriggie closed 8 months ago

joeriggie commented 8 months ago

Good morning!

I just used your excellent tool to add some patrons into Alma. It worked as expected, but I have one question.

I need to have a column for Identifier Value and Identifier Type.

Is it possible to have multiple Identifier Value and Identifier Type fields in the loader file to add several identifiers? If so, how?

Thanks again!

mgobat commented 8 months ago

Hi @joeriggie

Are the users of type "internal" or "external"?

Here's an example profile which adds two identifiers to an existing internal user:

csvProfile

The content of the csv file would be like:

PRIMEID,TYPE1,VALUE1,TYPE2,VALUE2
mgobat,Scopus,mgobatScop,TWITTER,mgobatTwit
joeriggie commented 8 months ago

Thanks for the reply.

How does it know that value2 is related to type2 and value1 to type1? Is the order important?

mgobat commented 8 months ago

@joeriggie, for the first 'Identifier Type' in the input file, it will take the first 'Identifier Value' in the input file, etc. The headers do not matter; it will not pair 'TYPE1' header with 'VALUE1' header. Does that make sense?

joeriggie commented 8 months ago

I understand and I got the loader to work with multiple ID's. Many thanks.

mgobat commented 8 months ago

Glad to read that, @joeriggie. Closing this issue.