Get Map Service Info only returning URL
Can anyone explain how the Get Map Service Info is returning one of the OUT variables, but not the other? If the IN arguments are MapServiceId and Layer Name, then a valid Map Service ID value and valid Layer Name vlaue should return both the MapServiceUrl and the Layer ID. I'm only getting the Map Service Url, but NOT the Layer ID.
How is this possible? If the IN arguments are valid enough to retrieve the Map Service URL, then why aren't they also getting the Layer ID?
Please help.
-
Hi Sean,
What's different between the workflow that is working properly and the one that isn't? Are they different sites? Are you using referenced sites? Have you configured permissions?
Is there a public URL where we can see the workflow failing?
Regards,
-Malcolm
0 -
Is it related with dynamic layers in your service?
See http://support.geocortex.com/SupportForums/Thread.aspx?pageid=0&mid=2&ItemID=20&thread=51264
In this case you should use the LayerSource property.
0 -
A version of the workflow that is working can be found at:
http://www.austintexas.gov/GIS/CouncilDistrictMap/
The I Want To -> Find Any District By Number is the workflow example I posted above. The one that doesn't work now is the in same site on my development instance and is not available publicly. It's essentially the same workflow with an additional Query Task at the end. The workflow completes without error, but the Set Map Extent on the District feature doesn't happen because there is no value for Layer ID. Even though I use the same service/layer combination in the workflow cited here that does return a Layer ID.
I'm sure I've fat-fingered something somewhere, but it's confusing why I don't get a value for Layer Id in one activity when I do in another.
Thanks for the help.
0 -
And this morning, it works.
[insert Twilight Zone Theme here]
I did a reboot of my desktop yesterday. Who knows.
Thanks for the help.
0
Please sign in to leave a comment.
Comments
4 comments