Is it possible to get the x and y coordinates from a Feature with Workflow in Geocortex Mobile?
Hey all,
I'm trying to get the coordinates from a feature in Geocortex Mobile. What I found out is that when I use 'Get Workflow Inputs' in a workflow I get an object. If I look at this object in the debug, I see that coordinates are stored there. See picture attached.
How can I get to the coordinates using a workflow?
I tried to create a JSON from the inputs to get the coordinates, but without success.
With "= $ get Workflow Input 1.inputs.context"
I only get [{features ": [" ArcGIS Object ID-Layer Name "]}]
example: [{features": ["22-Streets"]}]
I tried with
= $ getWorkflowInputs1.inputs.context.features
or
= $ getWorkflowInputs1.inputs.context [0]
or
= $ getWorkflowInputs1.inputs.context.Geometry
But i get an error message with "No matching indexer found"
I tried to create a FeatureSet from the JSON, but the FeatureSet is empty
Do i miss something? or is it not possible?
Thanks for helping
-
Hi @L L?
I think you're close. Try this:
=$getWorkflowInputs1.inputs.context[0].Geometry0 -
ah thank you, somehow I didn't come up with this 😄
0 -
You're welcome!
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer