Default landing page for a particular domain in a separated instance

Tharun_M
Tera Contributor

Hello everyone,

 

In a domain separated instance we can create a ess view homepage for each domain, so when a user login to a particular domain they will see the homepage for the particular domain as landing page. 

 

Is there any way to achieve the same with dashboards?

 

The system property "glide.login.home" can set a dashboard as landing page but we cannot set a dashboard as landing page for a particular domain by using this system property.

 

It will be helpful if anyone can share a solution to achieve this.

 

Thanks,

Tharun.

1 REPLY 1

Marco0o1
Tera Sage

Hi @Tharun_M ,

 

You can try to customizing the script include "SPEntryPage" in the step 

getFirstPageURL you can get the domain of the current user and redirect to the desired url. Using something like:
 

 

 

var ep = gs.getProperty("glide.login.home");
if(gs.getUser().getRecord().getValue('sys_domain') == 'domain1' ){
 ep = 'the url of your custom dashboard';
}

 

 

Just make sure you are sure of the changes you want to do. 

 

Marco0o1_0-1738086192516.png