Service Portal :Anchor with href to navpage/homepage redirect sthe end user again to Service Portal when is set


[Service Portal] Anchor with href to navpage/homepage will redirect the end user again to Service Portal while the property is set.

Steps to Reproduce

  1. Set the property to the new SPEntryPage().getFirstPageURL(); to redirect the end user to Service Portal.

  2. Go to or navigate to Service Portal > Headers & Footers'.

  3. Open the Stocke Header.

  4. Insert the following code:

    <li><a href="/">Navpage</a></li>"
    just after:
    <li><a ng-href="?id=user_profile&sys_id={{::user.sys_id}}" role="menuitem">${Profile}</a></li>

  5. Save the record.

  6. Impersonate an end user as Abel Tuter.

    The user will be redirected to Service Portal.

  7. Click on Abel Tuter in the header and then on Navpage/.

    The user should be redirected to but the method getFirstPageURL of the SPEntryPage script include is called and the user is redirected to Service Portal.



There is no simple workaround for this issue without losing functionality of deciding where to redirect users upon login. However, the SPEntryPage script is highly customizable so you can modify it.

Related Problem: PRB1245608