Forum Discussion
Reference one notebook from another
- 2 years ago
Yes you can with 2 different methods. The first method below %run with no parameters allows you to reference any child variables in the parent notebook. The second method (mssparkutils) runs in another session so you are not allowed to see the variables in the parent notebook.
2 methods:
- %run notebook_name
- mssparkutils.notebook.run("path", 90, {"input": 20 })
Introduction to Microsoft Spark utilities - Azure Synapse Analytics | Microsoft Learn
Yes you can with 2 different methods. The first method below %run with no parameters allows you to reference any child variables in the parent notebook. The second method (mssparkutils) runs in another session so you are not allowed to see the variables in the parent notebook.
2 methods:
- %run notebook_name
- mssparkutils.notebook.run("path", 90, {"input": 20 })
Introduction to Microsoft Spark utilities - Azure Synapse Analytics | Microsoft Learn
Hi DennesTorres
Please refer to this link: https://learn.microsoft.com/en-us/azure/databricks/notebooks/notebook-workflows
Hope this helps.
- Anonymous2 years agoNot applicable
Hi DennesTorres
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. Otherwise, will respond back with the more details and we will try to help.
Thanks