How to redirect Service Portal to new User Profile page?

Julie Gordon
Kilo Sage

I've cloned the User Profile page & widget. Made my required adjustments to the clones and edited the Service Portal 'Profile' Header to point to my cloned page, but if I log in the portal, go to my profile & click any related user(Manager, Coworkers, Direct Reports), it takes me back to the OOB User Profile page.  How do I point all of the Service Portal user links to my Cloned User Profile page?

Appreciate any help.

 

1 ACCEPTED SOLUTION

Hi Julie,

 

Just found out there is one more widget embedded to user profile.

HTML:

find_real_file.png

Server:

find_real_file.png

Line 76, create a clone widget of "sp-my-team" and put the new name here.

Then in the cloned widget, update the line 17 with "shelter_user_profile". 

find_real_file.png

 

This will be your final change. 🙂

 

Regards,

Mandeep

View solution in original post

12 REPLIES 12

Can you browse Service Portal > pages and then open your custom page shelter_user_profile. It will show you all the widgets added in this. Please confirm from there if you have added your custom widget. 

Julie Gordon
Kilo Sage

Yes, it's there.

find_real_file.png

Hi Julie,

 

Just found out there is one more widget embedded to user profile.

HTML:

find_real_file.png

Server:

find_real_file.png

Line 76, create a clone widget of "sp-my-team" and put the new name here.

Then in the cloned widget, update the line 17 with "shelter_user_profile". 

find_real_file.png

 

This will be your final change. 🙂

 

Regards,

Mandeep

Julie Gordon
Kilo Sage

You sir, can take the rest of the day off.  IT WORKED!!  Thank you so much!

Jan Cernocky
Tera Guru

Julie, there is an easier solution I believe. Haven't used them but saw a short demo recently.

It's called Page Route Maps in the application navigator...

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/build/service-portal/task/reroute-page.html

As the docs say:

"Multiple widgets in the Service Portal may link to a single page using a hard-coded page ID. If you want to replace the page, all widgets that reference the page must be updated with the new page ID. Instead of cloning and updating each widget with the new page ID, you can create a single record that automatically redirects all references to the original page to point to the new page. "