- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2021 11:55 PM
The property "glide.entry.page.script" has value as "new CMSEntryPage().getEntryPage()"
I checked the script include "CMSEntryPage". But it has a code which I am not able to understand.
what does this code means?
<CMSEntryPage>
var CMSEntryPage = Class.create();
CMSEntryPage.prototype = {
initialize : function() {
},
getEntryPage : function() {
var config = GlideContentConfig.get();
if (!config.getLoginPage())
return null;
return new GlideCMSPageLink().getPageLink(config.getLoginPage());
}
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:22 AM
Hi,
That script include is used to determine where user has to be redirected once user logins to the instance.
more details below
How to configure redirection for Service Portal
https://serviceportal.io/docs/documentation/sso_configuration.md
6 ways to set up your Service Portal for redirection SUCCESS!
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:22 AM
Hi,
That script include is used to determine where user has to be redirected once user logins to the instance.
more details below
How to configure redirection for Service Portal
https://serviceportal.io/docs/documentation/sso_configuration.md
6 ways to set up your Service Portal for redirection SUCCESS!
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 11:25 PM
Hope you are doing good.
Did my reply answer your question?
If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.
Thanks!
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:24 AM
Hi,
You can refer to the docs
Thanks,
AMAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:24 AM
As far as I remember this property "glide.entry.page.script" was used for redirection of login page
as per the user roles.
And regarding GlideContentConfig I am afraid there is not much documentation available at the moment.
However, I would recommend you to check this link especially the section of
"User login directly through Service Portal"
I believe the code you have pasted is the default one which works after logging in .