Disable parameter values

Solved!
piyushk
Level 4
Disable parameter values

I have created a Plug-In and would like to disable certain parameter fields such that users can see only default values and they can't edit those values. Is it possible to achieve the request in DSS?

0 Kudos
1 Solution
fchataigner2
Dataiker

Hi,

disabling a field in an auto-generated form is not possible, only showing/hiding is (using a visibilityCondition field on the parameter). You can also make a custom UI where you can implement disabling as you see fit ( https://doc.dataiku.com/dss/latest/plugins/reference/other.html#custom-settings-ui )

Regards,

    Frederic

View solution in original post

2 Replies
duphan
Dataiker

Hello, 

Can you tell me what kind of parameter fields and information we are talking about here ?

A priori, what you want to achieve can be done with preset field type (https://doc.dataiku.com/dss/latest/plugins/reference/params.html#multi-choice-parameters-and-presets), whose values are defined in the instance or project level. 

Please find attached an example of what it looks like. 

Cheers 

Du 

0 Kudos
fchataigner2
Dataiker

Hi,

disabling a field in an auto-generated form is not possible, only showing/hiding is (using a visibilityCondition field on the parameter). You can also make a custom UI where you can implement disabling as you see fit ( https://doc.dataiku.com/dss/latest/plugins/reference/other.html#custom-settings-ui )

Regards,

    Frederic