Hoppa till huvudinnehållet

Batch editing features attributes

Kommentarer

10 kommentarer

  • Permanently deleted user

    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
  • Permanently deleted user

    Could Geocortext gurus of Latitudes please advise?

    0
  • Permanently deleted user

    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
  • Permanently deleted user

    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
  • Permanently deleted user

    Anyone know of a solution to this to edit either multiple or a single  features attributes using a workflow?

     

    0
  • Permanently deleted user

    *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
  • Permanently deleted user

    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
  • Permanently deleted user

    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
  • Permanently deleted user
    I can't get Bill's code to load into Workflow Designer
    0

Du måste logga in om du vill lämna en kommentar.