plugin parameter visibilityCondition SELECT

Peter_R_Knight
Peter_R_Knight Registered Posts: 34 ✭✭✭✭

Hi,

I'm developing a plugin. I wanted to set the visibilityCondition based on another SELECT field but I want it to be visible once something is selected - i.e. when it shows 'Nothing selected' don't show the parameter. I tried:

"visibilityCondition" : "model.select_field is not None",

"visibilityCondition" : "model.select_field 3 == 'Nothing selected'",

but neither seemed to work (where select_field is the name of the other select field).

Thanks

Tagged:

Best Answer

  • Zach
    Zach Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 153 Dataiker
    edited July 2024 Answer ✓

    Hi @Peter_R_Knight
    ,

    The following condition should work:

    "visibilityCondition": "model.select_field != null"

    Thanks,

    Zach

Answers

Setup Info
    Tags
      Help me…