- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2017 05:09 AM
We have a requirement where if the User without roles try to login by clicking login for "XXX.service-now.com/SAP" is redirecting to SAP(as expected and SAP is the URL suffix of the service portal). but if the user with roles perform the same action its redirecting to nav page , I checked the Login properties ,created "glide.entry.first.page.script" and checked Header information of the portal as its redirecting to modalLogin Where can I find "modalLogin" and is there a better way to redirect both users with roles and without roles to SAP if they tried login ?.
and if the user tries to login to serviceNow will the changes effect? if user with role tries to login XXX.service-now.com then he should redirect to navpage ( as expected ) but if tried to login from XXX.service-now.com/SAP then should redirect to portal
can some one help me with this issue . this is kind of show stopper for my work . Thanks in advance for your time.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2017 06:35 AM
In the client controller replace
$scope.openLogin = function () {
remove line 12 , 13 ,14 and paste the below line
};
$scope.openLogin = function () {
window.location = 'nav_to.do?uri=' + encodeURIComponent(window.location.href.replace(window.location.protocol+'//'+window.location.host, ''));
};

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2017 07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2017 08:53 AM
thanks for the reply Akhil but i already created that property and its of no use

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2017 09:09 AM
Hi kammila,
Apart from making property, You need to make changes to script include named SPEntryPage as per your requirement mentioned above.
Hope this helps.
Regards
Ujjawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2017 10:18 AM
Hello Ujjawal
I did that too