Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
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