Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

URL in Menu section and Menu Item should redirect to different portal.

Alok Ranjan Das
Tera Guru

Hi,

I want a link on my menu section and menu item which should redirect to another portal from service portal.

e.g- If I click the link on a menu section available on service portal xxx.service-now.com/sp.

it should redirect to xxx.service-now.com/yyyy.

I don't want to hard code the URL since movement of updates to different environment will create an issue, if the update is moved to test from dev so as per the hard coded, environment test will redirect to dev.

 

Advance Thanks for the help...!!!

Regards

Alok

Kindly mark my answer as Correct and helpful based on the Impact.
Thanks and Regards,
Alok
1 ACCEPTED SOLUTION

This worked for me:

find_real_file.png

My PDI is on the London version, and the menu is using the OOB "Header Menu" widget. My Portal suffix being "test", make sure to include the leading slash.

View solution in original post

5 REPLIES 5

Dylan Mann1
Giga Guru

Have you tried adding just "/yyyy", or the suffix of the other portal, to the URL field in your menu item? 

Yes, I have tried that but it's redirecting to xxx.service-now.com/sp/yyyy

Kindly mark my answer as Correct and helpful based on the Impact.
Thanks and Regards,
Alok

This worked for me:

find_real_file.png

My PDI is on the London version, and the menu is using the OOB "Header Menu" widget. My Portal suffix being "test", make sure to include the leading slash.

Alok Ranjan Das
Tera Guru

Thanks Dylan,

I missed "/" and due to that reason I was unable to get the expected result.

Kindly mark my answer as Correct and helpful based on the Impact.
Thanks and Regards,
Alok