Need to hide bulb icon at short description field only on incident form and not on all other task ta

Vetcha Prasanna
Tera Contributor

Need to hide bulb icon at short description field only on incident form and not on all other task tables.

 

Some one can help me on this.

 

Thanks 

 

1 ACCEPTED SOLUTION

Hello @Vetcha Prasanna 

Above script will work if you have unchecked isolate script option. Have you tried exact same ? As for me it work as expected.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards

Viraj Hudlikar.

View solution in original post

10 REPLIES 10

Viraj Hudlikar
Giga Sage

Thanks for the reply. I tried above all scenarios in my pdi already but it didn't worked for me.

 

Do you have any exact solution as it apply on only incident table and should not impact other task tables.

 

 

Hello @Vetcha Prasanna 

 

I tried in pdi for incident table by writing onload client script as below

Screenshot_2025_0209_002631.jpg

Script is as below 

function onLoad() {
    //Identify the table and the field name
    var tbl = g_form.getTableName();
    var fld = 'short_description';// give here field name for which you want icon to be hidden.
    if (tbl == 'incident') {
        //Hide the suggestion icon for the field
        $('lookup.' + tbl + '.' + fld).hide();
    }
}

 

 If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hello Viraj,

 

I already tried above script but it didn't work for me.
Thanks