Skip to Content
Author's profile photo Fabian Unterschütz

SAP Lumira Designer 2.x: Changing preferred startup mode by script before launching the client

Hi everyone,

If you are one of the user that has to change the startup mode of the Lumira Designer 2.x often and do not want to always start the client before you are able to switch the mode, this blog post might be of interest to you.

I wrote two small batch files to change the startup mode of the designer before launching it.

 

First you need to navigate to the settings file in the Lumira Designer Workspace. it is located below:

C:\Users\<windows user>\LumiraDesigner-workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings

Please make a backup of com.sap.ip.bi.zen.ui.prefs in case something goes wrong.

There I created two files with the extension .cmd and placed the following coding within:

To switch to Legacy Mode:

powershell -Command "Get-Content .\com.sap.ip.bi.zen.ui.prefs | ForEach-Object { $_ -replace '\.lumx', '.biplatform'} | Set-Content .\com.sap.ip.bi.zen.ui_2.prefs"
powershell -Command "Get-Content .\com.sap.ip.bi.zen.ui_2.prefs | Set-Content .\com.sap.ip.bi.zen.ui.prefs"
start /d "C:\Program Files\SAP Lumira\Lumira Designer" SapLumiraDesigner.exe

 

to switch to Lumx Mode:

powershell -Command "Get-Content .\com.sap.ip.bi.zen.ui.prefs | ForEach-Object { $_ -replace '\.biplatform', '.lumx'} | Set-Content .\com.sap.ip.bi.zen.ui_2.prefs"
powershell -Command "Get-Content .\com.sap.ip.bi.zen.ui_2.prefs | Set-Content .\com.sap.ip.bi.zen.ui.prefs"
start /d "C:\Program Files\SAP Lumira\Lumira Designer" SapLumiraDesigner.exe

 

To be able to call those scripts from any location like the Startmenu, just create a shotcut to both files and place the shotcuts wherever you want, like on your desktop.

Now you are able to decide which mode you want to use before launching the Lumira Designer.

 

I wrote those batch files on Lumira Designer 2.1 SP01. If you have the designer installed into a different location other than the default path please change the last line to the correct location of your exe file.

 

Regards

Fabian

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Nikolas Siebler
      Nikolas Siebler

       

      Great!!

      Thank you Fabian. Works!!

      Author's profile photo Eric Trumm
      Eric Trumm

      Nice Trick. Helps a lot. Thank you.

       

      Author's profile photo Alex Cruickshank
      Alex Cruickshank

      NIce trick, thansk for sharing! it is painful when you have to keep switching environments!