End User login to Service Portal

SNOW46
Tera Contributor

Hello All,

Actually though I am working on MSP Instance so I have configured one new Service Portal same as OOB Service Portal.

And added some new widgets also I have cloned the homepage and made that SP as default.

I want to set the end user login for that particular domain that when an End User belonging to that Domain once logins to SNOW will redirect to Service Portal Homepage.

Can anyone suggest me how to achieve this.

 

Thanks,

SNOW@Das

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

The script includes SPEntryPage controls routing to default portal. You can modify script and grab users domain, then based on domain, route to appropriate portal:

 

find_real_file.png

View solution in original post

16 REPLIES 16

Michael Fry1
Kilo Patron

The script includes SPEntryPage controls routing to default portal. You can modify script and grab users domain, then based on domain, route to appropriate portal:

 

find_real_file.png

Hi Michael,

The solution provided by you does helps me. But I just want to understand that in the condition as below

var domain = gs.getUser().getDomainID();
if (domain == 'A')
this.portal = "/A";
else if (domain == 'B')
this.portal = "/B";

else{
this.portal = "/sp/";

}

I have some doubt in the first line shall I provide sysid of the domain inplace of Domain ID and I want to configure for one domain as of now.

Can you please let me know in brief.

 

Thanks,

SNOW@Das

 

Sysid would be best, in case the domain name/ID ever changes.

Thanks. 

Just one quick query that can you please suggest me if I am wrong anywhere.

I am bit confused. Please find the below screenshot. Let me know if anything needs to be modified.

find_real_file.png