SetLayerDefinition
Hi there,
I am struggling to get a definition expression working on my layer. Am I missing any activities?
I am using a SetLayerDefinition, applying the MapService and Layer Id, with the query "mycolumn = 'value'".
The mapservice REST endpoint is fine, as is the id of the layer. I've checked that the query works in SQL, which it does. I guess I'm missing something?
Hope someone can help!
-
additional info: I tested the query on the mapservice on the arcgis rest interface and the query is successful, so it's definitely something I am doing (or not, as the case may be) in Geocortex.
0 -
Are you refreshing the map (RefreshMap) are calling the SetLayerDefinition Query?
Just proved to myself it works.. get in touch if you want a copy of the xaml.
Regards
Brad0 -
An update with more information...
My workflow is seemingly simple: I want to create a Layer Definition based on an attribute query. My data is very simple – it’s a single feature class in a fGDB with a single attribute. I publish the data in ArcMap as a Map Service to ArcGIS Server and thence to a new Geocortex Essentials site.
When I run the workflow (as a new “I want to…” menu option), it sticks on the first activity as WaitingForExternalActivities. The really weird bit is that when another developer (on a different site, different country!)replicates this with the same data and workflow in a new Geocortex site, it works fine.
Using Workflow Designer 3.9; ArcGIS Server 10.1.
Any ideas, anyone?
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare