i want disable the check box and icon in list view

Venkatesh7
Kilo Contributor

I want disable the check box and icon in list view any one can please tell me the solutions

Please find the below attachment 

1 ACCEPTED SOLUTION

Hi Venkatesh,

Did you use correct table while using list_edit ACL

Regards
Ankur

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

View solution in original post

19 REPLIES 19

Mark Roethof
Tera Patron
Tera Patron

Hi there,

There are no out-of-the-box configuration options to achieve this.

What is the reason you want this?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Venkatesh,

there is no out of the box script to hide it for particular table only; but here is 1 approach which worked for me earlier

1) create an UI script of type global

2) script below:

(function() {

addAfterPageLoadedEvent(function () {

// use your table name below I used u_snow_table

if(window.location.href.indexOf('u_snow_table_list') != -1){
hideRefIcons();
hideCheckBoxes();
}

});
})();

function hideCheckBoxes(){

$j(".checkbox-label").each(function(){
$j(this).hide();
});
}

function hideRefIcons(){
$j('a[class="btn btn-icon table-btn-lg icon-info list_popup"').each(function() {
$j(this).css( "display", "none" );

});

Note: the UI script would run on every page opens in ServiceNow which may lead to performance impact but it would hide the checkboxes and the icon only for your table list view

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Venkatesh7
Kilo Contributor
HI Ankur Bawiskar
 
 
 i write the code in ui script but it is not reflected 
 
 
Thanks and Regard 
Venkatesh Y 

Hi Venkatesh,

can you share the script?

Regards
Ankur

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