Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 September 2024 Fabric update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 |