How to add a RITM link in Request summary page in Employee Center?

Aishwarya Selv1
Tera Contributor

In Request summary page, where the RITM number appears (highlighted below), will it be possible to have a RITM link instead so that while clicking on it, it redirects to the RITM record in the backend?

find_real_file.png

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you will have to check which widget is rendering that.

If it's out of the box you will have to clone it; make the changes and then add the new widget again on the page.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

The widget behind the page is Standard Ticket header, I cloned the widget and the RITM number is displayed by data.number. Instead of an RITM number I need a RITM link in the same place and while clicking on the link, it should redirect me to the backend RITM page.

data.urLink gets the url of the ticket

find_real_file.png

but when I tried to display the RITM number as a url link in the HTML, it's not displaying

find_real_file.png

Could you let me know how should I change the code to get the RITM number as a RITM url link?

Hi,

in the HTML side you need to update these lines

 <div ng-if="!data.isEmpty" class= "form-group pull-left m-n">
      <label class="label-color m-n text-xs" for="data.number.name">{{::data.number.label}}</label>
      <div class="form-control no-padder no-border no-bg" id="data.number.name">{{::data.number.display_value}}</div>
    </div>

then in server side form the URL to backend like this

/sc_req_item?sys_id=sysId

regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader