Plugin Visibility Conditions

Options
rdubester
rdubester Partner, Dataiku DSS Core Concepts, Registered Posts: 1 Partner

Hey folks, simple question. I am trying to use a visibility condition based on a SELECT type parameter. The example in the documentation is

"visibilityCondition" : "model.prediction_type == 'classification'"

but it does not specify where the 'model' name comes from. Should that be replaced with the name of the plugin? The name of the code recipe itself? Thanks!

Answers

  • StanG
    StanG Dataiker, Registered Posts: 52 Dataiker
    Options

    Hi,
    "model" refers to a Javascript object that contains all the parameter names you define in the json file as key, it's always called "model", so you just have to use model.YOUR_PARAM_NAME.

Setup Info
    Tags
      Help me…