Hoppa till huvudinnehållet

Layer list - Possible to trigger hide when disabled behavior from workflow result? SDK limitations?

Besvarat

Kommentarer

3 kommentarer

  • Cam Barnard

    Hi Tyson - yes there is a pattern for what you are looking to do. All feature actions support custom canExecute logic. You can therefore write your own code to look at whatever information is important to you and disable/hide the action based on it.

    If you are still fighting this, I can dig up a starting point example for you. 

    0
  • Michelle Wang

    I ran into a similar situation. I would like to hide a workflow which launches the layer's portal item page from layer action menu for layers added by users from files. 

    Tyson, have you found a solution for your use cases?

    0
  • Mike Diss-Torrance

    Since the “Hide when Disabled” option is defined in the Web designer, what are the specific conditions that would initiate it? In other words, what would cause a command or workflow to become disabled (and thus hide the button)?

    0

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