Forum Discussion
How to save a semantic model on direct lake into a git folder?
hello,
How to save a semantic model on Direct Lake into a Git folder? I do not use Fabric Git integration.
Best,
Jacek
You can use the Fabric APIs to Get Item Definitition, this should give the pibp format in base64 which you can convert or save. You can also use the Fabric VS code extension to do this, which will call the API and decode for you.
4 Replies
- v-pnaroju-msftCommunity Support
Thankyou, anilelmastasi and Deku for your responses.
Hi jaryszek,
We appreciate your inquiry through the Microsoft Fabric Community Forum.
We would like to inquire whether have you got the chance to check the solutions provided by anilelmastasi and Deku to resolve the issue. Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.
Thank you. - DekuSuper User
You can use the Fabric APIs to Get Item Definitition, this should give the pibp format in base64 which you can convert or save. You can also use the Fabric VS code extension to do this, which will call the API and decode for you.
- anilelmastasiSuper User
Hello jaryszek ,
Based on this documentation https://learn.microsoft.com/en-us/fabric/fundamentals/direct-lake-power-bi-desktop#power-bi-project-pbip open semantic model for live editing in pbi desktop by connecting to it from the Fabric workspace. After that while you are editing go to file - export - power bi project (pbip). This will give you a local copy of of the semantic model and report metadata. And it enables the save button for local metadata. The exported folder will contain your model definiton files in TMDL format. Then you can use Git as the central metadata repo.
- v-pnaroju-msftCommunity Support
Hi jaryszek,
We are following up to see if what we shared solved your issue. If you need more support, please reach out to the Microsoft Fabric community.
Thank you.