Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

home page url link for Portal

Baggies
Kilo Guru

My requirement for the user is this, they want to use the ServiceManagement Portal for their users. Fine, I can link my Catalog Items, My Approvals etc fine on the Portal Home Page. But what they would like is a link to "My Home Page" on the portal, which will take them to (for example) ITIL Home Page, or in the case of an ESS User, the ESS Home page.

I thought I could just create a link with "home.do", but that takes me to the Portal Page - https://myinstance.service-now.com/this_portal/home.do. I think it should direct to https://myinstance.service-now.com/home.do, without the portal name.

Any help appreciated, and apologies if its vague,

Mark S.

3 REPLIES 3

Manjul Katare
ServiceNow Employee
ServiceNow Employee

Hi Mark,



Just trying to understand the navigation you are looking for, Do you think you can share the screenshot of point-A( ServiceManagement Portal Page) and the point-B (ESS Home page), if you can capture the URL as well, would be very helpful.



Thanks,


Manjul


Manjul Katare
ServiceNow Employee
ServiceNow Employee

Hi Mike,



Here is what I tried using OOB instance in the mean time:



#1: Created a Dynamic block and added on Service Management Portal:



<j:choose>


  <j:when test="${gs.hasRole('itil') || gs.hasRole('admin')}">


  <div><a style="color: #d1232b;font-weight:bold;" href="/">Link To Home Page</a></div>


  <!-- This would point to ESS Home page -->  


  </j:when>


  <j:otherwise>


  <div><a style="color: #d1232b;font-weight:bold;" href="/ess/home.do">Link To ESS Portal</a></div>


  <!-- This would point to Home page -->  


  </j:otherwise>


</j:choose>



#2: If I login as Admin/ITIL, I get a link to go to "Main Application".


Screen Shot 2015-12-15 at 4.46.00 PM.JPG



#3: If I login as an employee I get a link to go to "ESS Portal"


Screen Shot 2015-12-15 at 4.45.33 PM.JPG


Hope this help!


-Manjul


Many thanks, I will give this a try today. In the meantime I have added a screenshot of the Portal. I am trying to rework the requirements, as it does seem a little   confusing to the end user to have   two homepages.....      






Portal page.JPG