Skip to main content

Edit a feature in Web 5 with Workflow 5 using Commands and Operations

Comments

1 comment

  • Gareth Finney

    Hi Christopher,

    Did you ever get this working? I'm currently trying to run ‘editing’ via the workflow using the command

    edit.display-update-feature

    I basically need the workflow to :

    1. select a feature
    2. allow the user to move vertices (reshape/resize the geometry)
    3. pass this resized geom into further stages of the workflow
    4. enable specific editing of the attributes - via workflow (not in the UI/result panel etc.)

    I've been able to get some ways there, with the following command list (which I've converted to workflow) - but even then, the boolean arguments such as enableScaling/enableMoving aren't working as expected…

    [
       {
           "name": "sketching.capture-geometry",       
           "arguments": {
               "geometryType": "point"
           }
       },
       "tasks.identify",
       {
           "name": "edit.display-update-feature",
           "arguments": {
               "parent": "",
               "attributes": {
                   "slot": "top-start"
               },
                "editAttributes": "false",
                "editGeometryOptions": {
                     "enableScaling": "false"
                     "enableMoving": "false"
                     },
                
               "geometry": null
           }
       }
    ]

    0

Please sign in to leave a comment.