Open notebook in a jupyterlabTab by using API or extension

Hi,

I would like to open an existing notebook in a workspace new tab (inside jupyterlab), but not by cliking the notebook, but using API call or creating extension (python/JS)

Why ?
I have an external software, and I would like him to be able to trigger a notebook opening in the already opened webBrowser.

I’m not able to find anything on the internet nor jupyter DOC/API.

Any help appreciate

See recent post:

1 Like

Thanks but it doesnt work
write OK but nothing happend

image

Bummer.

Looks like it needs a little work. Also looks like --help is busted.

This did seem to work, at least in the development repo:

jyg run docmanager:open "{\"path\": \"Untitled.ipynb\"}"
1 Like