Forum Discussion

anawast's avatar
anawast
Microsoft Employee
1 year ago
Solved

Dynamically get notebook snapshot link when using mssparkutils.notebook.run()

When I use mssparkutils.notebook.run() to a run a notebook from a parent notebook, it generates a snapshot link of the notebook in the output window of the parent notebook- clicking on which I can vi...
  • v-nmadadi-msft's avatar
    1 year ago

    Hi  anawast 
    Thanks for reaching out to the Microsoft fabric community forum.

    Currently there is no direct functionality in mssparkutils or notebookutils to dynamically retrieve snapshot link as Fabric does not expose the snapshot ID.
    The only possible workaround is to manually construct the URL using
    https://<workspace_url>/notebooks/<notebook_id>/snapshot/<snapshot_id>
    We can retrieve notebook ID and Workspace ID through notebookutils  but for snapshot ID it has to be manually copied from the child notebook.

    If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS.
    Thanks and Regards