How to modify Ticket Fields widget in Service Portal?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 03:12 PM
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 -
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
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2019 07:10 AM
hi everyone...
managed to solve this.
for dynamic sys_id just use :
sys_id={{data.sys_id}}
in your href
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2019 07:28 AM
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