- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2018 08:45 AM
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
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2018 09:25 AM
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:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2018 09:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 05:18 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 06:24 AM
Sysid would be best, in case the domain name/ID ever changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 09:23 AM