Select to view content in your preferred language

Batch update Item tags on AGOL

815
2
Jump to solution
01-09-2024 09:07 AM
Ed_
by MVP Regular Contributor
MVP Regular Contributor

So I need to add a tag let's say `some tag` to some 60 items on AGOL. Now I know I can do this by adding the tag one by one for each item but is there a way on AGOL to add a tag to all these items in one go? The items are in a group, can that help adding a tag for all of group items in one go?

Question | Analyze | Visualize
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
BobBooth1
Esri Contributor

You could do this via Python.

Here is a zipped Jupyter notebook that shows how.

View solution in original post

2 Replies
BobBooth1
Esri Contributor

You could do this via Python.

Here is a zipped Jupyter notebook that shows how.

BobBooth1
Esri Contributor

Note, this code processes and applies the updates to all the items owned by the user who is logged in running the script (with the credentials you add).

You can update the script to work on items from a specific group. See:

https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-grou...