Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
I've had some success pulling the semantic model via REST api and updating the name inside BUT I would like to update the LineageTags of the fields when I perform a 'clone' operation within my project (my project is a webapp that embeds powerbi).
I get the model content which is a list of section keys with base64 encoded values. The issue is that when I decode those values I am not getting json - it's just strangely formatted text. Is there some way to extract it in a different format so that it's easier to manipulate/update? Below is an example of one table's section in the model. Any advice? TIA!
Solved! Go to Solution.
That is TMDL, bit like YAML for semantic model
Assume you use Get Item Definition Fabric API.
There is format part to the URL.
In the item definition it list formats as TMSL and TMDL
TMSL is the JSON version, so could try calling that. Should give you model.bim.
You can also use the C# libraries to convert between format
This worked perfectly - I was scanning the help for 'json' and didn't realize that 'tmsl' was the same thing. Thank you so much!!!
Ah! Thank you so much. I will check into that.
That is TMDL, bit like YAML for semantic model
Assume you use Get Item Definition Fabric API.
There is format part to the URL.
In the item definition it list formats as TMSL and TMDL
TMSL is the JSON version, so could try calling that. Should give you model.bim.
You can also use the C# libraries to convert between format
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.