Parameters with multiple columns and Map

Solved!
NN
Level 4
Parameters with multiple columns and Map

Hi All,

In custom recipe parameters has anyone been able to link a key-value/map parameter to a columns parameter ?

For Example suppose i have a a parameter of type COLUMNS from the input dataset.
And each time a user select a new column to the parameter, we can enable a key-value/Map parameter to it.

+Column1

Key1 - Value1

+Column2

Key2 - Value2

0 Kudos
1 Solution
fchataigner2
Dataiker
Dataiker

Hi,

if you weren't aiming for a COLUMN type, the easy answer would probably have been to use a OBJECT_LIST parameter, with `subParams` for one column selector + one key field + one value field. Sadly, the COLUMN(S) type is not usable in subParams, so you'll need to write a custom UI (see https://doc.dataiku.com/dss/latest/plugins/reference/other.html#custom-settings-ui )

View solution in original post

0 Kudos
2 Replies
fchataigner2
Dataiker
Dataiker

Hi,

if you weren't aiming for a COLUMN type, the easy answer would probably have been to use a OBJECT_LIST parameter, with `subParams` for one column selector + one key field + one value field. Sadly, the COLUMN(S) type is not usable in subParams, so you'll need to write a custom UI (see https://doc.dataiku.com/dss/latest/plugins/reference/other.html#custom-settings-ui )

View solution in original post

0 Kudos
NN
Level 4
Author

ThankYou @fchataigner2 . This definitely helps.

0 Kudos
A banner prompting to get Dataiku DSS
Public