Forum Discussion
Mounting NB on- the-fly
Hopefully something in this blog post can help achieving what you request: https://fabric.guru/how-to-mount-a-lakehouse-and-identify-the-mounted-lakehouse-in-fabric-notebook
- smpa012 years ago
Community Champion
This post describes how to mount a NB which is exactly similar to what I have provided (good so far)
but it does not execute a code in a Notebook manually attached to a Lakehouse would have successfully executed otherwise.
The objective of progrmatic mounting is to see if the succedding code executes correctly as it would have in a manually attached lakehouse.
- frithjof_v2 years ago
Community Champion
I see, I will do a test on my side if I find the time to do the test.
Btw I see you are using notebookutils whereas the blog post is using mssparkutils.
Will it work if you use mssparkutils instead of notebookutils?
- smpa012 years ago
Community Champion
frithjof_v i will check and let you know.