URL Navigation

tlgriffin447
Giga Contributor

Hello,

I'm having an issue with properly navigating an end user to the right site based on the URL they enter. When they enter "companyname.service-now.com/navpage.do" they're appropriately directed to the login page of the instance. However, when they enter the url of the ESS portal "instance.service-now.com/Self_Service/" they're just taken to the main log in page of the instance and not the ESS portal. They are taken there if they're already logged on, but I also want them directed there when they're not logged in and just enter the ESS url. Any thoughts on how to accomplish this would be much appreciated. Thanks!

Tyler

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Ok, when that is set to false, then all CMS pages including login pages are not accessible until you login. If you set that to true then users should be redirected to your cms login page when they hit your CMS url.



A possible side effect of this would be if you have any other cms sites that don't have login pages set, they would now be public sites.


View solution in original post

7 REPLIES 7

Brad Tilton
ServiceNow Employee
ServiceNow Employee

So you want the user to get to a specific portal login page if they hit the portal url, or you want them to get to the portal itself without logging in?



If you want them to get to the login page, you can build the portal login page and then set the Login Page field on the site record to be your new login page.



Here's some more info:


http://wiki.servicenow.com/index.php?title=Content_Management_Security#How_Do_CMS_URLs_Work.3F


Thanks for the response, Brad. So basically a logged in user is able to navigate to the ess portal by using the url. But, if they're logged out and use the same url, they're redirected to the instance's main log in page instead of the ess's log in page.



I have the log in page for the ess set up in the site record but it's not accessible unless the user's already logged in.


Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hmm. The default functionality for CMS is that if the user is not authenticated and they hit the /ess portal url and there is a login page specified they'll end up at the login page. If they're ending up at the instance's default login page at this point there's something else going on.



Could you check the sys_public table for the view_content record and see if it is true or false?


Ok I've navigated to the sys_public table, and the view_content record is false.