Highlight layer not working
I've been following the example MailingList.xaml provided in the Geocortex samples to highlight the results of a query from my parcel layer but it's not highlighting them.
I have a variable defined, which is in-scope, called highlightLayer having a default value of "Parcels".
The out argument of my QueryTask is a variable (also in-scope), queryResults. I then run the following external commands:
Command name: "CreateHighlightLayer", Command Parameter: highlightLayer
Command name: "SetActiveHighlightLayer", command Parameter: highlightLayer
Command name: "HighlightEsriFeatureSet", command parameter: queryResults
Although queryResults is returning some results, the parcels are not being highlighted in the "Parcels" layer.
If anyone has any ideas why please let me know.
Thanks
Mark
-
Hi Mark,
In my workflow, after the query task I have a "Get Geometries" task, so in your case your feature set would be queryResults, and Results: queryCollectionFrom there try your commands, and then Run external command "AddMarkup" with queryCollection as command parameter.
0 -
In the "SetActiveHighlightLayer" command, you are told to specifiy the layer name. In what format is the layer name meant to be in, because I havent been able to get this to get the highlighting feature to work yet?
0
Please sign in to leave a comment.
Comments
2 comments