Set Map Extent Error
I have a workflow that allows a user to select a parcel, querys the layer, and in theory zooms to the selected parcels...however, I keep getting this error when trying to set the map extent to the selected parcel...
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000CklL&feoid=Body&refid=0EM600000001Tls"_/_img_
As far as I can tell, I have everything set correctly, the variables are all defined and in the correct scope...
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000CklL&feoid=Body&refid=0EM600000001Tlx"_/_img_
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000CklL&feoid=Body&refid=0EM600000001TmH" _/_img_
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000CklL&feoid=Body&refid=0EM600000001Tm2" _/_img_
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000CklL&feoid=Body&refid=0EM600000001Tm7" _/_img_
Ideas?
0
-
Are you sure your query is returning results? You should put in an alert to make sure.
And I typically go from the GetGeatureSetExtent to a Run external command of "ZoomToExtent"0 -
queryResult.Features.Any should be True.
On your Query Task, is Return Geometry set to True?0 -
Thank you both so much for the response...I changed my activities a bit as Dan suggested, as well as set my Query Task Return Geometry to true...I am no longer receiveing the error and the map is zooming as expected! Thank you!
I do have another issue however...In this particular sequence of activies, I am trying to HIGHLIGHT as well as zoom...Below is my sequence...do either of you see anything that would make the selected object not highlight? The ConstHighlightLayer variable is an object with "Selected Features" set as the default...Thanks again!
0 -
For the command HighlightEsriFeatureSet, the command parameter should be queryResult. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer