Good morning,I want to delete all the tags of an item by code like this:
item.update(item_properties={'tags': tags})
I pass an empty string, an empty list, None, [], does not do it.What element must be passed to achieve it?Regards
I don't know 😭 you had got me all excited 😂
Ah, that's interesting. I wonder why that is??
Hi @EarlMedina
This is great thanks, I just wanted to highlight the below as I was giving this a test.
While it removes tags from the Item page as per below...
...there is a lingering empty string in the tags list, so it doesn't fully clear the tags list.
All the best,
Glen
Use this to clear all tags:
item.update(item_properties={"tags":"", "clearEmptyFields": True})
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.