Plugin Visibility Conditions
![rdubester](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar8.png)
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
-
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.