Skip to main content
Question

How to configure different themes in different branches, on Universal and Windows

  • January 21, 2026
  • 2 replies
  • 23 views

Forum|alt.badge.img

We have a MAIN branch, TEST branch, and several DEV branches. I want each branch to have a different theme; the only important distinction I want to make is that MAIN has a black menu, TEST has a red menu and the DEV branches have a green menu.

 

While we were using only Windows, this worked. Now that we are also using Universal, somehow the themes are not matching the branch, and the themes differ between users. I am also trying user group group preferences, but the theme doesn’t seem to change to the one I set in the platform settings.

 

In the documentation on themes https://docs.thinkwisesoftware.com/docs/sf/themes

I can only find how to set one default theme for a whole application.

Please explain if it is possible to control which theme is used in which branch and have both a theme for Universal and Windows.

2 replies

Forum|alt.badge.img
  • Author
  • Apprentice
  • January 21, 2026

UPDATE: I have been able to achieve what I want through user group preferences in the different applications. Is this the (only) way to do this?


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Robin,

Every platform can have its own Default theme that, on the IAM side, can be overridden by User (group) preferences. 

The only way to have the default theme change based on the type of branch is by using Dynamic model. This dynamic model can modify the default theme upon generating the defintion. In our own development environment we also do that, having a theme that is blue and a theme next that uses an orange color. Based on whether or not it is the MAIN branch, the dynamic model sets the default theme to be what we desire.

This is the code we use, feel free to modify it to your liking:

-- Update the default theme for Universal
update platform
set default_theme_id = iif(@branch_id = 'MAIN', 'universal_theme', 'universal_theme_next')
where model_id = @model_id
and branch_id = @branch_id
and platform = 3 -- Universal
and default_theme_id <> iif(@branch_id = 'MAIN', 'universal_theme', 'universal_theme_next')

As you want three themes, the where/iif clause will need to be a bit different.