edit geometry only from workflow
in the html5 viewer is there a way to invode the edit geometry portion of the editor from a workflow?
-
We basically want to use the drag and drop functionality in editing the geometry of a feature, from and html5 workflow.
0 -
Jeff,
Not from the default product activity, but you can utilize one GVH product command 'StartEditingGraphicGeometry' and one event 'GeometryEditCompletedEvent'.
You may pass FeatureSet to update its geometries, and feature server layer name to your custom client activity, and implement the custom client activity handler where you can utilize above one command and an event.
wish you have guideline how to do it.
Munhwan
0 -
Munwhan,
oh a code sample would be oh so helpful. I think that many workflow builders could use this functionality.
J
0 -
I need a bit more info on this post
where to i exectute this command from? can i use invoke method or something like that? or can i run this from the run external command?
GVH product command 'StartEditingGraphicGeometry'
then use the listen for event activity for this:
'GeometryEditCompletedEvent'.
then run the update activity with this:
pass FeatureSet to update its geometries, and feature server layer name
or you could give me some sample code or provide the code in the Code gallery?
Jeff
Jeff,
Not from the default product activity, but you can utilize one GVH product command 'StartEditingGraphicGeometry' and one event 'GeometryEditCompletedEvent'.
You may pass FeatureSet to update its geometries, and feature server layer name to your custom client activity, and implement the custom client activity handler where you can utilize above one command and an event.
wish you have guideline how to do it.
Munhwan
0 -
how or where would i find out the arguments required by this command?
"StartEditingGraphicGeometry"
its seems like its looking for a featurelayer and a graphic geometry of the feature selected.
is there a document that give the names of the commands and thier arguments?
0 -
Hello Jeff,
In the GVH directory from the Support Center, the Geocortex Viewer for HTML5 Administrator and Developer Guide.pdf has reference appendicies which cover commands and events in the viewer.Thanks, Stefan
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare