Help Shape the Future of Dataiku Join our User Research Program

Accessing Plugin Config from Notebook/Webapp

Solved!
gblack686
Level 4
Level 4
Accessing Plugin Config from Notebook/Webapp

How can I access the parameter values of a plugin recipe from within my notebook? 

Additionally, can I write these parameters to my project level variables from within the plugin code?

0 Kudos
1 Solution
Alex_Combessie
Dataiker Alumni

Hi again,

Regarding your first question:

Accessing parameter values of a plugin recipe from a notebook is not possible as these are two different environments. If you want to develop the plugin in a notebook, you will need to replicate the plugin parameter logic.

Note that there are several ways to develop plugins, as I highlighted in my previous answer: https://community.dataiku.com/t5/Plugins-Extending-Dataiku-DSS/Plugin-Development-in-Jupyter/m-p/543...In your case, you may also consider our IDE integrations, such as VSCode.

As for your second question, it is possible through our API (https://doc.dataiku.com/dss/latest/python-api/rest-api-client/projects.html#dataikuapi.dss.project.D...). This can be another way to help you develop your plugin. I wouldn't recommend doing that after you share the plugin to users since it could introduce conflicts if multiple people use it at the same time.

Hope it helps,

Alex

View solution in original post

1 Reply
Alex_Combessie
Dataiker Alumni

Hi again,

Regarding your first question:

Accessing parameter values of a plugin recipe from a notebook is not possible as these are two different environments. If you want to develop the plugin in a notebook, you will need to replicate the plugin parameter logic.

Note that there are several ways to develop plugins, as I highlighted in my previous answer: https://community.dataiku.com/t5/Plugins-Extending-Dataiku-DSS/Plugin-Development-in-Jupyter/m-p/543...In your case, you may also consider our IDE integrations, such as VSCode.

As for your second question, it is possible through our API (https://doc.dataiku.com/dss/latest/python-api/rest-api-client/projects.html#dataikuapi.dss.project.D...). This can be another way to help you develop your plugin. I wouldn't recommend doing that after you share the plugin to users since it could introduce conflicts if multiple people use it at the same time.

Hope it helps,

Alex

View solution in original post

A banner prompting to get Dataiku DSS