Dynamic URL in Menu Item

Satwik
Tera Contributor

Hi everyone,

I wanted to have a dynamic URL in the menu item of service portal header. I have written a script include to return the dynamic URL, but on click of the menu item, url is not getting updated and so nothing is happening.
I have executed the script include script using background script. its working well, return the correct string. 

Am I missing any step to configure. Please help how to achieve to get a dynamic string for menu items


1 ACCEPTED SOLUTION

Mohith Devatte
Tera Sage
Tera Sage

Hello @Satwik ,

Menu items wont allow dynamic URL unfortunately ,it should be static and even if you use a script include to get the dynamic URL it returns the error in console like below

find_real_file.png

Please mark my answer correct if it gave you an understanding

 

View solution in original post

5 REPLIES 5

Hi satwik ,

As per my knowledge  no but you can try for the type called as "Scripted list" which will also not suit your requirement as that show the list of records but every record if you click you can redirect to different URL but for this you need to have records 

see below screenshot

find_real_file.png

please mark my answer correct if it helps you