I understand how to update the tags but that also removes the existing tags.
#update tags
for item in Items:item.update(item_properties={'tags': 'tag, test'})
How would I go about adding tags to existing? I a stumped.
I figured it out.
for item in Items:thislist = item.tagsaddtag = ("Newtag")thislist.append(addtag)
item.update(item_properties={'tags': thislist})
This appends a tag to existing for item in items
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.