Notifications

156 views

Description

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

Steps to Reproduce

  1. Set the property glide.entry.first.page.script to the new SPEntryPage().getFirstPageURL(); to redirect the end user to Service Portal.

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

  3. Open the Stocke Header.

  4. Insert the following code:

    <li><a href="/navpage.do">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 navpage.do but the method getFirstPageURL of the SPEntryPage script include is called and the user is redirected to Service Portal.

 

Workaround

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

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-07-18 04:28:35
Published:2018-07-18