How to disable or hide the reference icon before every record in a specific list view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2016 07:18 PM
Hello Everyone
Is there a way to disable or hide the reference icon before every record in a specific list view?
I'm using database views for my list view since I needed to show columns from multiple tables, and my request no. is already linked to the request form so I would like to just hide the reference icon or disable it if possible.
Your suggestions would be much appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2017 09:50 AM
Hi April,
This might be a little late, but I've modified the code to use prototype.js instead of jQuery. To use this, just replace the UI Script with the following. Remember to replace the table name if that's only a placeholder value:
(function() {
addAfterPageLoadedEvent(function () {
if(window.location.href.indexOf('u_tableabc_list') != -1){
hideRefIcons();
}
});
})();
function hideRefIcons(){
$$('a[class="btn btn-icon table-btn-lg icon-info list_popup"]').each(function(el) {
el.hide();
});
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 04:38 AM
Hi Ankur,
with above code , when user is sorting a list , the hover over icon again reappears.
Is there any way to overcome this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 05:19 AM
Hi Deepanshanand,
When user sorts the list the list doesn't refresh so I don't think this will have some solution. Need to think on this.
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
‎05-18-2018 04:25 AM
hi Ankur,
is there any dom element that occurs when a mouse is clicked.
above onload can we put some condition like that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2018 12:03 AM
Hey Ankur,
did you found a way for this..