Hello everyone
Arcgis Pro offers the possibility in the sql source to use query params and these params must have a default value. My question is: where should I define these parameters in the REST API request so that I can implement different filters in the sql query. I tried with "customParamaters" property as object, but it doesn't work.
Source definition:
Query params:
Javascript code:
This questions is related to "Standardized Queries" option in Arcgis Pro.
THX
for export operation, please use `layerParameterValues` parameter. Pls see the help here: https://developers.arcgis.com/rest/services-reference/enterprise/export-map.htm
for query operations, use `parameterValues` parameter. Pls see the help here: https://developers.arcgis.com/rest/services-reference/enterprise/query-map-service-layer-.htm
when you are constructing a feature layer in your js api code, you are right you need to use `customParameters` but you need to formulate it correctly. In your case, it should be something like
customParameters: {
parameterValues: { netGroupId: 1 }
}