How to get the URL from the Menu Item Script.

Priya Gautum
Kilo Guru

Hi Team,

Requirement: In the portal, if we click on Menu item it should redirect us to the defined URL.

Could you please help me to get the URL from the server script in the Menu item.

URL would be in a field(new field) which will be present in the product table(u_cmdb_ci_products).

I need to create a new field in the Product table but not sure what type should I take URL or String?

Actually, we don't want to give the URL in the menu item directly, as it will get changed every 4 months. that is why we are giving the URL in the Product table.

Regards,

Priya

 

6 REPLIES 6

Hi Allen,

I think you have updated the wrong comment here.

Regards,

Priya

Hi Priya,

I didn't update the wrong comment. I made a post suggesting for you to update your question because your post was confusing and you were contradicting yourself, accidentally. You replied and said you did update it, thus my reply was helpful...you didn't mark it as Helpful, haha, but it was helpful regardless because you updated it as was suggested.

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!