How to modify Ticket Fields widget in Service Portal?

Priyanka Gupta
Mega Guru

Hi Community,

I have a situation where I need to modify the Ticket Fields widget to include a hyperlink to an Incident. Here's an image that explains what I am looking to achieve -

Incident.PNG

I want to make the Incident No (highlighted in the image with red) a hyperlink, so that when an itil user clicks on the Incident no, the user gets redirected to the incident.

Catch - This hyperlink should only appear for the itil user and rest of the users should see the widget as is.

I know Form widget is one way of showing the related Incident record on the same page but I have no way of limiting its visibility to itil users alone.

Any leads would be helpful.

Thank you,

Priyanka

11 REPLIES 11

Ron Blumshtein1
Kilo Contributor

hi everyone...

managed to solve this.

 

for dynamic sys_id just use :

 

sys_id={{data.sys_id}}

 

in your href

Hi, 

Yes, You are right. So now with this method, you can add more parameter to the URL if you have more complicated condition in future.

*ps: if my previous answer contribute to your solution, please help to mark as helpful or answered.

Thanks