Esri / ArcREST

python package for REST API (AGS, AGOL, webmap JSON, etc..)
Apache License 2.0
192 stars 155 forks source link

createReplica does not work for feature services inside folder #333

Open leftieant opened 7 years ago

leftieant commented 7 years ago

Hi

I'm using the sample script at https://github.com/Esri/ArcREST/blob/master/samples/create_replica_fs.py

createReplica does not seem to work for feature services inside a user folder within AGOL (for example those created with Survey123).

Apologies if this issue is dealt with elsewhere or if there is a workaround I'm not yet aware of.

(I need to be wearing L plates when I work with this stuff).

leftieant commented 7 years ago

After further tinkering, I've found that using https://github.com/Esri/ArcREST/blob/master/samples/create_replica_portal_item.py will work for creating replicas from services inside folders.