Idea: Serializons - Save Model as BIM #1088
Replies: 8 comments
-
I used to do this also. The only reason to hassle with model.bim was ALM 😊 What I’m doing now, is comparing my workspace db with the test (or prod) instance of analysis services. But I admit it may not work for everyone. So no objections to your suggestion! Edit: There is also mention of an «ALM like» comparison and stepwise/selective deployment option on the Roadmap of TE3 I think. That would simplify things! |
Beta Was this translation helpful? Give feedback.
-
I used to have a powershell script because TE2 can create a model.bim via command line. |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting. We'll make sure this feature is added to TE3 as well. |
Beta Was this translation helpful? Give feedback.
-
@otykier : I'm not very sharp with C#-scripts in TE3, but since the serialization of a BIM file is possible with CLI... Could I write a custom script to execute CLI TE to generate a bim-file for me? And if I'm really lazy would even open ALM toolkit for me? |
Beta Was this translation helpful? Give feedback.
-
@Rasenkantenstein For example, the C# script below launches a Windows Explorer window: System.Diagnostics.Process.Start("explorer.exe"); But you can use to launch ALM Toolkit, Tabular Editor, or anything else basically. Have fun :-) |
Beta Was this translation helpful? Give feedback.
-
@otykier Thanks for the input: I've tried this but not really successfull (at least ALM Toolkit opens)
But I do get an error message that a file couldn't be found. I have no idea of syntax or functions, but if anyone has, please feel free to share :-) |
Beta Was this translation helpful? Give feedback.
-
Use the following code to start TabularEditor.exe, passing the arguments var teProcess = System.Diagnostics.Process.Start("c:/Program Files (x86)/Tabular Editor/TabularEditor.exe", "C:/git/hfdm/MODELS/INBOUND/database.json -B Model.bim");
teProcess.WaitForExit(); |
Beta Was this translation helpful? Give feedback.
-
@otykier : Thank you so much. Got it working thanks to you.
By right clicking on a model I can now build it as a Model.bim and automatically launch AlmToolkit: |
Beta Was this translation helpful? Give feedback.
-
I am always using the ALM Toolkit for deployments of meta data against PowerBI or Azure SSAS. To compare a model, the ALM Toolkit required a Model.bim file. I also think the feature of saving a model to a folder is absolutely neccessary. Thus I have to save the Model.bim manually, close the model and reopen the folder structure.
In TE2 there is this wonderful feature for serializons:

Supporting this feature in TE3 would help to improve the deployment process.
Beta Was this translation helpful? Give feedback.
All reactions