March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |