Hyperlinks to HR Cases - EmployeeCentrel

_Samay
Tera Expert

Dear Team, 

We have a record producer to submit a HR case and when HR is submitted, a message is coming. PFA below. 

_Samay_0-1741078079860.png

 

 

We would like to make this HR case with Hyperlinks and when users will click on this. 

Thanks

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @_Samay ,

 

Replace the below code in the HTML template.

 <div class="main-banner">
    <h1>Thank you for your submission!<br></h1>
    <h2>Your reference number is <a href="esc?id=hrm_ticket_page&sys_id={{::data.ticketid}}&table={{::data.table}}">{{::data.number}}</a> <br></h2>
 </div>

 

Mark this as Helpful / Accept the Solution if this helps so that it helps future hunters.

View solution in original post

7 REPLIES 7

Community Alums
Not applicable

Hello @_Samay ,

 

You can go with below approach to make it hyperlink.

  1. Navigate to the widget that displays the message.
  2. Retrieve the sys_id and coe_table of the created case.
  3. Wrap the case number with the following code

 

<a href="?id=hrm_ticket_page&sys_id=<<sys_id>>&table=<<hr_coe_table>>">{{data.your_ticket_Number}}</a>

 

hrm_ticket_page is a OOB page in esc portal which displays the overall status of the case.
image.png
You can also redirect the user to a custom page if you have one by simply adding the page ID and relevant parameters.

 

Mark this as Helpful / Accept the Solution if this helps so that it helps future hunters.

@Community Alums - Thanks for your message. I have checked and found that there is a confirmation widget. 

Please help me, where and how we can make changes, so that this will be with hyperlinks. 

PFA Below screenshots. 

 

_Samay_0-1741106686835.png

 

 

Community Alums
Not applicable

Hi @_Samay ,

 

Replace the below code in the HTML template.

 <div class="main-banner">
    <h1>Thank you for your submission!<br></h1>
    <h2>Your reference number is <a href="esc?id=hrm_ticket_page&sys_id={{::data.ticketid}}&table={{::data.table}}">{{::data.number}}</a> <br></h2>
 </div>

 

Mark this as Helpful / Accept the Solution if this helps so that it helps future hunters.

Dear @Community Alums - We have make this. Thanks, In Server Script, We prepare a URL and use this into HTML. 

_Samay_0-1741182212641.png_Samay_1-1741182269321.png