Display results from workflow and highlight
Hi All,
I have a workflow which returns multiple results from the query tasks; when I selected an individual item from results panel, the 'Infobox' opens with "Details/Attributes" tabs. However, under the "Attributes" tab, attribute's columns name return exactly how it had been defined in the layer, even though, I have give a long description in "Display Name" for the fields in the "Site/Map/Layer/Fields/" in Rest Manager., this long description displays only if I used "Point Identify". How can I do these:
1. The 'Attributes' tab displays long description of the fields' name as the way "Point Identify".
2. I would like the location highlight on the map when I select an item on the results panel (left panel). I used 'Buffer Task/SetMapextent', this give me a syntax error as "xxxx.first().geometry.extent"
Anyone helps would appreciated.
Kim
-
I'm interested in the answer for #1 as well, some of my layers display the "details" section as outlined in the Feature Description, but other's do not...
As for #2, are you using points,lines or polygons?0 -
Hi Kim,
1. Make sure your SelectFeatures activity is pointing to the correct map service/layer. If it is pointing to the incorrect layer, it will display the attributes from the feature set that you are supplying to the SelectFeatures task, rather that matching it to the configured layer in your site. This could be why it is not loading your configured display names.
2. In order to use 'First()', you must import System.Linq in Workflow Designer. If this doesn't fix the error, could you post the exact syntax error that is displayed so we can tell what part it doesn't like?
-Victoria
0 -
I realize this post is pretty old, but I'm having trouble with the formatting of my query results. In my workflow, I'm running the query task to get a set of features, then using the Select Features to display them. It is displaying the results, but not in the correct format. How do I make the query results observe the formatting that is defined in GE Manager for that layer?
Thank you,
Stephanie0 -
Make sure the Map Service Id and Layer Id (or Layer Name) settings are correctly filled. See point 1 above. 0 -
Looks like I just didn't have the right combination of layer ids and service ids in the selection task set up! 0
Please sign in to leave a comment.
Comments
5 comments