How to provide a hyperlink on catalog item form that links to another catalog item form

bookman1502
Giga Expert

Hi,

My organization has a catalog item which allows users to grant, modify, or revoke user access to various systems. However, problematic things happen with approvals when they choose to revoke. We also have a catalog item for revoke access which doesn't cause this problem, and I was wondering if there was a way to provide a hyperlink on the grant, modify, or revoke access catalog item form to the revoke access catalog item form so as to redirect everyone to the latter. I know it may seem like it would make the most sense just to get rid of revoke access on the grant/modify catalog item but it's been this way for a long time so I think from a user experience perspective it would be best to try and provide a link. I've searched through the wiki and while I have found this regarding how ServiceNow URLs work I haven't found anything that seems like it would allow me to create a hyperlink in this manner, such as a service catalog variable type for hyperlinks or something. Could someone please help me out here?

Thanks

1 ACCEPTED SOLUTION

Hi Robert,



Thanks for the update. Just replace the instance name with yours and update the link.


https://YOURINSTANCE.service-now.com/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=039...



Replace 039c516237b1300054b6a3549dbe5dfc with the sys_id of the catalog item


View solution in original post

13 REPLIES 13

Hi Robert,



Thanks for the update. Just replace the instance name with yours and update the link.


https://YOURINSTANCE.service-now.com/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=039...



Replace 039c516237b1300054b6a3549dbe5dfc with the sys_id of the catalog item


Thanks again, but when I try to do as you instructed I get an error when I attempt to save which says "The reference to entity "sysparm_id" must end with the ';' delimiter." I have put a ';' in every conceivable place and it still tells me this. Google didn't seem to yield anything useful. Do you know what could be going on?


Can you share your code on what you done so far pls.


I replaced what you said with a href="/com.glideapp.servicecatalog_cat_item_view.do?sysparm_id=MYITEMSYSID" and it worked.


Perfect


Would you mind marking response as correct/helpful if that resolved your issue.