Edit vertices in a workflow
I'm trying to create a workflow that allows the user to select a polygon then edit its vertices.
Does anyone have any sample code or can anyone provide a list of activities I would use? I'm thinking that:
A Display Capture Geometry would be used first and the user would select a polygon.
Then RunExternal Command: AddMarkup to copy this polygon to the markup later.
Then RunExternal Command: EditMarkup to edit its vertices.
However it looks like the last one can't be done in a workflow. Does anyone have any suggestions?
Thanks
Mark
0
-
Hi Mark,
We have already created a workflow that allows users to edit features. Here is the link to the page so you can download it: https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_SEARCH_RESULT&id=kA4600000004EWU or search for "Editing features via a workflow". The zip file contains 3 different workflows, the one you want to use is called UpdateFeatures.
I hope this helps.
Regards,
Carmen0 -
Hi Carmen
I had already found those workflows, but couldn't find anything in them that enables the editing of polygon vertices. Could you tell me which particular activity allows this?
Thanks.0 -
Mark, I am attempting to edit the vertices of a polygon. Did you get an answer to this question? 0 -
Hi David
No, I've not had any further responses to this question. It would need to be done outside a workflow, using the out-of-box tools.0 -
Hi Mark and David,
Sorry for the late response!
In terms of editing feature vertices, no we do not have any activities in Workflow Designer that will allow you to mimic the built-in feature editing tool to edit vertices. If you want to edit a geometry through a workflow, then you would have to use the Display Capture Geometry or Capture Geometry activities to actually redraw the entire shape and then apply that to the feature. If you want to allow the user to edit the vertices of a feature, then I would suggest using the built-in tool for that.
I hope this helps.
Regards,
Carmen0
Please sign in to leave a comment.
Comments
5 comments