replace file path in table for AGOL hosted feature layer

1982
11
Jump to solution
12-19-2018 08:17 AM
JaredPilbeam2
MVP Regular Contributor

I'm looking for a way to change the file path of 100+ fields in a table of a feature layer. I have Jupyter Notebook installed. I'm guessing it can be done with Python? I'm pretty familiar with arcpy, but I've never used python inside AGOL before. 

We recently set up a new server. This 'Attractions' layer (below) has pop-ups and in the pop-ups are links to images. But the file path to these images is to the old server. I want to use python to replace this old path with the updated one.

Tags (3)
0 Kudos
11 Replies
JaredPilbeam2
MVP Regular Contributor

Xander,

Yes, I have a single hosted feature layer with 2 fields and 100+ records. Ok, good to know. Thanks. 

0 Kudos
XanderBakker
Esri Esteemed Contributor

Hi Jared Pilbeam , 

In that case I think it might be easier to just perform two field calculations on the hosted feature layer. You could use Arcade for this: