getChoicesFromPython not populating SELECT dropdown Plugin
nmadhu20
Neuron, Registered, Neuron 2022, Neuron 2023 Posts: 35 Neuron
Hi Team,
I have a reuirement of using python to dynamically populate a dropdown in plugin. I have followed th steps mentioned in documentation and also in the Dataiku Community question.
However, after saving when I am clicking on the dropdown, nothing appears.
I am guessing something is wrong with the placement of resource folder here.
recipe json looks like this:
and the do() function looks like this:
Any lead is appreciated. Thankyou in advance!
Best Answer
-
Hi nmadhu20,
Your guess was right, the resource folder is mislocated. It should be at the root of your plugin repo - so at the same level as the plugin.json file (see documentation: https://doc.dataiku.com/dss/latest/plugins/reference/other.html#resource-files).
Hope this helps!
Agathe