AnsweredAssumed Answered

ArcGIS Online Layer Query

Question asked by ckemmerer_ESImaps on Feb 13, 2018
Latest reply on Feb 14, 2018 by ckemmerer_ESImaps

I have a hosted FeatureLayer in a Webmap that contains multiple features for data collections that will be used across multiple projects.  I'd like to be able to pull down data and attachments from those layers using a layer query in the create replica wizard .  For this example I have layers 0-3, all layers have a common attribute, "Project_Number".  I would like to do something similar to the example below.  So far I have tested the first line, while it produces a url to download the data the replica creation fails.  Unfortunately it does not provide an error number, only that it failed.  Any insight would be greatly appreciated.

 

 

EXAMPLE:

{"0":{"where":"Project_Number=842"}}
{"1":{"where":"Project_Number=842"}}
{"2":{"where":"Project_Number=842"}}
{"3":{"where":"Project_Number=842"}}

 

CHECK REPLICA STATUS ERROR:

Outcomes