Select to view content in your preferred language

Use gis.content.search to replace a text string?

340
1
09-24-2019 06:14 AM
ThomasColson
MVP Frequent Contributor

I know I can use gis.content.search to find a text string, but can I feed that into a text string replacement? For example, I want to find every keyword (tag) in the item.tags attribute that matches "Sasquatch" and replace it with "Bigfoot" that belongs to user "Yeti". 

0 Kudos
1 Reply
Jeremy_Moore
MVP Alum

You can use update to change the tags which can be found under "Item" within the arcgis.gis module.

arcgis.gis module — arcgis 1.6.2 documentation 

0 Kudos