Hoppa till huvudinnehållet

GetSelectedFeatures in WF5

Kommentarer

1 kommentar

  • Permanently deleted user

    Hi Graham,

    There is no GetSelectedFeatures equivalent in WF5.

     

    Our workaround, is to use the context menu Results List and Results Table Set Actions, add a menu item RunWorkflowByUrlAndInputs

     

    {

     "url": "YourWorkflowURL.com",

     "context": "{{context}}"

    }

     

     

    Then you use GetWorkflowInputs in the workflow to access the results features. In our case, we use it for running reports. I run a check to see what the layer is ($inputParams.inputs.context.layer.displayName) and if it's not one I'm interested in I give a message saying "no reports available for this layer"

     

    0

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