How to add info message on the page which appears after clicking on 'Approval' under my Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
I have a requirement, wherein I want to add a Info message named 'Please click the above link for additional details' , below the hyperlink of (RITM) ,as shown in the below SS.
How can this be achieved?
We have found one widget named 'To-dos task Line Item'.
Please suggest, where exactly are we supposed to do changes in this widget, or there is any other approach via which we can achieve the requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
yes you will have to clone the OOTB widget, make changes to it and then add that on your portal page
but why this much customization required?
You can inform your customer about the implications of heavy customization as it leads to technical debt and may have issues during platform upgrades
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello @Damayanti Sarod ,
In your widget code search for your code that renders the RITM hyperlink you highlighted..
typically look like this :
<a href="{{c.getHref(item)}}" target="_blank">
{{item.short_description || item.display_value}}
</a>
And for the info message add this below that RITM code,
<div class="ritm-info-message" ng-if="item.sys_class_name === 'sc_req_item' || item.number">
<span class="icon-info-circle text-info" aria-hidden="true"></span>
<small class="text-info" style="margin-left: 4px;">
Please click the above link for additional details
</small>
</div>
also can add css for styling..
If my response helped mark as helpful and accept the solution.