Batch editing features attributes
Hi,
is it possible using workflow to select a group of features and hit a button to update the feature attributes? like you can select a group of features in ArcMap and apply Field Calculator to the selected features. I can do the selecting part but don't know how or whether possible to do the editing part. I also thought about make a geoprocessing service on AGS to handle the Field Calculation / attribute editing part, but how can I pass the selected feature in Geocortex to the geoprocessing service? Thanks
-
I'm looking for similar functionality. The ability for the user to edit attributes from a feature access polygon without being able to edit the spatial side.
Thanks for any advice,
Dan
0 -
Could Geocortext gurus of Latitudes please advise?
0 -
Hi to all
this is something that we wish to do also.
I am currently making a workflow to allow the user to set the rotation of street address points by setting an angle field. That field is used when labelling the points so that they align well with the street.
I am at the stage of where:
- the user can select one of more address point features (unfortunately they are returned as graphics),
- select a line that they wish to align the address label to ie a road frontage arc
- calculate the angle of the line between the start point and end point of the line
I now need to be able to calculate the 'Angle' field to the calculated angle value.
Any suggestions would be gratefully received. I am sure that it could be done in other ways such as calling an external process to do SQL updates etc but that seems a bit of the top when you can manually update attributes on single features in the FeatureDataForm that starts up. No doubt there will be other fields and situations that I wish to do this with.
Regards
Ralph Price
0 -
Unfortunately this is not currently possible from a workflow. You would be limited to the editing toolbar as it is currently configured, with attribute and feature editing.
You would have to build a module to interface with the editing features of the ESRI Silverlight API directly. This module could expose a command that is then called from a workflow.
0 -
Anyone know of a solution to this to edit either multiple or a single features attributes using a workflow?
0 -
*bump*
Wondering about the same thing. Is it possible to edit one attribute in many features with a workflow in either Silverlight or HTML5?
0 -
If you dont want to retrieve the current attribute and just display a empty textbox/dropdownlist then you can have the user input the desired value and then loop through all your selected features of a featureset list and then set the value of your variable to the corresponding attribute.
Hope that sorta helps.
0 -
Chris and Bill, thank you so much!
This is precisely what we needed. :)
For other potential users of Bill's code - this helped me to get it to work:
- Remember to change the attribute name that you want to present to the user (that will subsequently be edited) in the RuntimeModifications of the DisplayForm "Select New Attribute Values".
- Double click (this took me a while to get...) on the "ForEach <Graphic>" and insert your attribute name to be changed in the Assign box.
- Remember to change the "RefreshMap" Map Service Id to the ID of the layer in your site that needs to be updated.
Turid
0 -
I can't get Bill's code to load into Workflow Designer 0 -
Here's a related topic with a more recent workflow sample:
https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&id=906600000004IhWAAU0
Please sign in to leave a comment.
Comments
10 comments