I can't dynamically select a notebook in a DSS macro + Using Python API to access notebooks fails

Ibtisam
Ibtisam Registered Posts: 1

I’m trying to create a project macro in DSS 14.2.2 that allows a user to select a notebook from a dropdown and then perform actions on it (e.g., add a code block).

Problems encountered:

  1. The dropdown appears in the macro UI, but it never shows any options. (I want all projects' notebooks).
  2. Attempting to use the Python API to access notebooks fails:
project.list_jupyter_notebooks()
project.get_jupyter_notebook("id")

Results in:

AttributeError: 'Project' object has no attribute 'list_jupyter_notebooks'
AttributeError: 'Project' object has no attribute 'get_jupyter_notebook'

Dataiku version used: 14.2.2

Dataiku version used: 14.2.2

Answers

Setup Info
    Tags
      Help me…