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
Use this to clear all tags:
item.update(item_properties={"tags":"", "clearEmptyFields": True})
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
Ah, that's interesting. I wonder why that is??
I don't know 😭 you had got me all excited 😂