Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi, I have written a function which read documents from a local folder, which works well. Now I need to move the script and the local folder to OneLake and I have difficulty to refer to the folder in Fabric. I have tried relative path and absf path, both failed. Any ideas?
Solved! Go to Solution.
HI @Jeanxyz,
I'd like to suggest you use the file API path to instead, you can 'right click' on file stored in the folder and copy its API path.
/lakehouse/default/Files/source_files/
Regards,
Xiaoxin Sheng
These two articles also contain some related information:
https://fabric.guru/how-to-mount-a-lakehouse-and-identify-the-mounted-lakehouse-in-fabric-notebook
https://fabric.guru/how-to-attach-a-default-lakehouse-to-a-notebook-in-fabric
Also see:
https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities
HI @Jeanxyz,
I'd like to suggest you use the file API path to instead, you can 'right click' on file stored in the folder and copy its API path.
/lakehouse/default/Files/source_files/
Regards,
Xiaoxin Sheng
Check out the April 2025 Fabric update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.