Save the Model.bim.layout file formatted rather than as a single line
The model.bim.layout for Tabular models is currently a single line. When this is updated as part of changes it can never be usefully compared with a diff tool. It would nice to work well with these tools to be able to see the files include newlines / indentation when saved.
If VS will split .bim file from single to multifiles for each table, role etc. and store it in the project like this, but not as the single .bim, it will be better solution, I think. There is no problem to join all the files from multi into one in memory before deploy or display in constructor.
I love how the "Product Team" tells us the layout file should not be important for team development. When you have a large model, keeping everything organized is extremely important to make it easier to work with. Maybe the product team thinks the .bim file is the only one that matters, but to the people buying your product the layout file matters as well.
Koen Verbeeck commented
The bim.layout file is very important. It contains how the all the measures are positioned in the measure grid. If you work with multiple devs over TFS, not having a decent comparison of the layout file can lose all of the formatting.
Yes, better team development is the goal. The Model.bim.layout file should not be important for team development, though. The Model.bim file is the one that matters, and in Tabular 1200 projects it is a JSON file, which hopefully makes team development a little easier right now, until a better more fine-grained solution is implemented.
is there any progress here. has anybody succefully written a script to format the file afterwards.
I formatted the XML file via powershell however, this is not worth a lot as it contains just three gigantic piceses of encoded XML again.... :-/(
Kay Unkroth commented
Thanks for the suggestion. I added your feedback to our backlog for improving team development. It will be considered when we get to this item. No info on timelines though.
+1 !! Make more easy the work inside a team !