- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2017 02:20 PM
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2018 10:14 PM
Found a solution to this,
https://community.servicenow.com/community?id=community_question&sys_id=b37200d6db80a3408e7c2926ca961984

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2017 02:29 PM
Hi
You can create onload client script and use below code.
function onLoad(){
gel('lookup.incident.short_description').outerHTML=''; // please modify according to your table field.
}
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2017 02:33 PM
Unfortunately as mentioned in this article, to setup a suggestion field you set the Choice value to "suggestion". This is set on the task.short_description field that affects all tables that extend task. You can remove it for all those tables but there isn't a dictionary override for the "choice" value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2017 02:44 PM
hi guys, thanks for the replies
Sachin I tried your code but it's not working, do I have this correct?
function onLoad() {
//Type appropriate comment here, and begin script below
gel('lookup.x_cur_oc_feedback_oc_feedback.short_description').outerHTML=''; // that's my custom table name.field
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2017 03:17 PM