Elevation profile not working consistently...
An elevation profile tool was created based on the LA County example.
However, running the tool does not work consistently with the following error message being displayed.
There was a workflow error running activity: Exception has been thrown by the target of an invocation. Workflow 'Elevation Profile' failed Unhandled exception: 'Invalid JSON primitive: .' in activity '1.78: Assign'. Invalid JSON primitive: .
Any tips on this would be greatly appreciated.
0
-
Hi Yunsik,
Activity 1.78 is the Assign activity inside the "Find Elevation" section. This assign is doing the following -
jsonObject = new ExternalObject(identifyTaskResult)
and the issue is invalid JSON is being received. If you are not already using Essentials version 4.5.1 I would upgrade to the latest version as I can see there is one bug that has now been fixed that would cause this issue. If you are already using Essentials 4.5.1 I would display the value of identifyTaskResult to see what is wrong with it. You can also put the Assign task inside a Try/Catch block to handle the error without causing an error to be displayed to the user.
If you still get stuck feel free to open a support case by emailing support@latitudegeo.com and a support analyst will be happy to help you.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Richard,
Is there any way to configure the profile tool to have a dropdown list to choose which layer in the map service i need to apply the tool on it.
cheers,
Rawan0
Please sign in to leave a comment.
Comments
2 comments