We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Hiding email client icon from scope application custom table

PravinBangadkar
Tera Contributor

Hi Team,

 

I want to Hide email client icon from scope application custom table. I have write the script and made isolated script checkbox as false. But its not working in scoped application.

 

function onLoad() {

   var apr = g_form.getValue('approved'); //True/false field type

    if (apr != 'true') {

        $('email_client_open').hide();

    }

}

 

Its going inside the if condition but still its not working. Please suggest any solution or insides.

 

Thanks in advance.

5 REPLIES 5

PravinBangadkar
Tera Contributor

Hi @Ankur Bawiskar , I have tried this $j('#email_client_open').hide(); solution but not wokring.  Do you have any other approch?.