Add returnIdsOnly parameter to Query Layer activity, review others that are missing
PlannedCan the returnIdsOnly option please be added to the Query Layer activity? We rely on this in Geocortex Workflows when there are a lot of features since it doesn't have the feature limit that normal queries have (i.e. if service is limited to return 1000 features it will return > 1000 Object IDs for large query results).
There are other missing options that are in the ArcGIS REST API Query function, please also review these and include others that would be useful: Query (Map Service/Layer) | ArcGIS REST APIs | Esri Developer
As a workaround we used a web service request to query the ArcGIS REST endpoint directly (detailed here) but it would be much easier to use the workflow activity.
-
I would welcome returnExtentOnly.
0 -
Unfortunately, we don't use the REST API for this activity so these options aren't available.
We are using executeQueryJSON which always returns a feature set. I expect that's why it doesn't support options like ids only or extent only.
0 -
Ken Lyon That's too bad. How about adding new activities that use executeForIds and executeForExtent?
0 -
Berend Veldkamp I've added this to the backlog. We could potentially add inputs for “ids only” and “extent only” and then have new outputs for “ids” and “extent” that are only set in such cases. In the new cases the existing outputs would be undefined.
There's also the possibility of adding new activities, but as I think about it I prefer enhancing an existing activity rather than adding more that are similar. (Even though Query Layer probably wins the prize for most inputs already!)
0
Please sign in to leave a comment.
Comments
4 comments