Jrt1general
Enthusiast
Enthusiast

I was penning this update to my reply above:

I found the issue, the tag-category was still populated with the categories of a former import - must have been failing silently then.

I ran your script and it works perfectly without error - even when it encounters duplicates.

One thing I'm looking to improve on, is to populate the description along with the tag.

In the spreadsheet, I was thinking

Name, Category1, ,Category2, ,Category3, ,Category4

vmname, tag1, tag1 description, tag2, tag2 description,

Or maybe make it easier to parse, by using a colon between the tag name and description.

Name, Category1,Category2,Category3,Category4

vmname, tag1:description, tag2:description,

I can get the data in the csv in just about any format and maintain a tight naming convention - which would you recommend?

Reply
0 Kudos