How to add a RITM link in Request summary page in Employee Center?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 12:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 12:42 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 10:41 PM
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
but when I tried to display the RITM number as a url link in the HTML, it's not displaying
Could you let me know how should I change the code to get the RITM number as a RITM url link?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 11:01 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader