Get FeatureSet for Uploaded Data in GVH?
I created a workflow that will export data as KML/KMZ, in addition to other formats, based on the extent of a polygon. Once the user draws the polygon, I use the Site class to grab the active layers in the map and run queries and clips on all the layers.
I'm running into trouble on how handle uploaded data and graphics. Is there a way to get a FeatureSet or Geometry object for uploaded data?
-
You can use the Get Graphics Layer Content Activity
There is a sample here http://gedemo.geocortex.com/Html5Viewer/index.html?viewer=Workflow_Samples.Workflow_Samples_Viewer
Toolbar > Common Client > Get Graphics Layer Content
0 -
For Workflow 5 there is a sample here https://latitudegeo.maps.arcgis.com/home/item.html?id=2ba579550636432a9cd38bfab298332e
(from https://gedemo.geocortex.com/Html5Viewer/index.html?viewer=GXWF_Sample_Site.GVH > Toolbar > Graphics Layer > Graphics Layer activitities).
By default the name of the default graphics layer is "Drawings".
0 -
Nico, looks like that was the answer to all my problems!
Get Graphics will grab the drawn markup and and uploaded data layers. Thanks for pointing me in the right direction.
0 -
Hello, i would also like to use a geometry from uploaded data (in wf5), but it can't get it to work, the layer name is more like "*.Local". Or am i looking at the wrong attribute? (graphicsLayerIds).
Thanks in advance!
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare