Multi tennant

0
I'm building a multi tenant system with a logo of each tennant. Is it possible to put the logo of the tenant in a layout so that it changes when someone from another tenant is using the system?
asked
3 answers
2

Yes you can. In the layout use a datasource microflow to retrieve the logo of that customer. If you want a complete CSS change you can do that also and much easier then Ralph his suggestion. There is an app for that: https://appstore.home.mendix.com/link/app/3067/TimeSeries/StyleSheetSwitcher

Regards,

Ronald

 

answered
0

We solve this by loading different css into the project. In your css you can set the background image of a logo class.

In the theme folder you can make mulitple index files, or you can write some javascript to detect the used url te determin which css to load. 

 

 

answered
0

We have made it work by having a different layout for our switcher page (page on which you can switch from one tenant to another).

When returning to the application the old layout is refreshed and is thus showing the selected tenant information

answered