hide/remove the suggestion icon on the short_description field

patricklatella
Mega Sage

Hi all,

I've seen several threads regarding this but none that pertain exactly to what I need.   So here's my contribution:

I have a short_description field on a custom table extended from task.   I want to hide or remove the suggestion icon to the right of the field.   What's the best way to do this?   In my screen shot the variable is called Summary, I did that through a dictionary override.   I've been trying to do a dictionary override of the attributes but can't find the right script to do it.

suggestion=false   (?)   something like that?     thanks!

find_real_file.png

1 ACCEPTED SOLUTION

rahulraj06
Tera Expert

Found a solution to this,

https://community.servicenow.com/community?id=community_question&sys_id=b37200d6db80a3408e7c2926ca961984

View solution in original post

17 REPLIES 17

patricklatella
Mega Sage

find_real_file.png


Hi,



Please try below code in your client script



    gel('lookup.incident.short_description').style.display = 'none';



Regards,


Sachin




patricklatella
Mega Sage

find_real_file.png



again here the summary field is the "short_description" field with a label override


patricklatella
Mega Sage

find_real_file.png


patricklatella
Mega Sage

Hi Sachin,


here's my code, but still not working.



function onLoad() {


  //Type appropriate comment here, and begin script below


    gel('lookup.x_cur_oc_feedback_oc_feedback.short_description').style.display = 'none';


}