Getting Output from results.shapefile
I'm using the Run Operation results.from-shapefile but I'm having trouble referencing the file content.
The documentation says the Results can be any of Feature, Featureset, etc.
I've tried using:
$runOperation.result.feature.geometry
$runOperation.result.Feature.geometry
$runOperation.result[0].Feature.geometry
All return undefined
What is the correct notation to retrieve the geometry from the uploaded file?
1
-
Also tried $runOperation.result.geometry
0 -
What if you log $runOperation.result ?
0 -
0
-
I got it sorted.
The $runOperation.result[0].geometry returns the geometry. I was forgetting to Propagate Form Event to move the workflow along.
Thanks, Nico!
1
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer