
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 02:33 AM
I wanted to know which part of the Script Includes - SPEntryPage do I configure if i wanted end users to be redirected to the new Service Portal when trying to access the UI16
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 06:25 AM
SPEntryPage does two things:
1. Figures out which login page to show (getLoginURL())
2. Determines where a user goes after they login (getFirstPageURL())
If you're wanting to control where these users go after login that would be done in the getFirstPageURL() function. That is used by the system to figure out what the first page a user goes to after login will be based on their roles and a few other factors.
Ultimately to redirect to your portal you have to set the returnUrl variable to your portal URL.
Note: This will only determine where they go when they first log in. It will not prevent them from navigating to UI16 once they are logged in. In order to do that you'll want to look at some of the options provided in blog Michael mentioned. If you want to prevent ess users from getting to UI16 at all that is usually handled through a UI script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 05:49 AM
This blog will explain how to setup a redirector: Redirecting user logins - UI Scripts, Login Rules, or Installation Exits
That's all you should need to do.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 06:25 AM
SPEntryPage does two things:
1. Figures out which login page to show (getLoginURL())
2. Determines where a user goes after they login (getFirstPageURL())
If you're wanting to control where these users go after login that would be done in the getFirstPageURL() function. That is used by the system to figure out what the first page a user goes to after login will be based on their roles and a few other factors.
Ultimately to redirect to your portal you have to set the returnUrl variable to your portal URL.
Note: This will only determine where they go when they first log in. It will not prevent them from navigating to UI16 once they are logged in. In order to do that you'll want to look at some of the options provided in blog Michael mentioned. If you want to prevent ess users from getting to UI16 at all that is usually handled through a UI script.