How I can hide the suggestion icon in short description field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 06:52 AM
Hello Expert 🙂
Please I need your help to hide the suggestion icon in short description field ?
short description field exist in task table , and my table extend the task table so I dont want to make any effect in the base table < Task >
screenshot :

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 06:57 AM
you can create here dictionary override on short_description field and pass the attribute knowledge_search=false

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 07:03 AM
Knowledge search is an attribute in the dictionary entry record for short_description
knowledge_search=true is the attribute
I would create a dictionary override entry rather than overwriting the task version,
suggestion is the choice type of the field, so you can set that to --None-- to remove the suggestion lightbulb completely.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 07:13 AM
Sorry , ignore my first response.
DOM manipulation can be used here to hide that.. but that is not good approach here. still you want to use refer the below code.
function onLoad(){
gel('lookup.incident.short_description').outerHTML='';
}
there is a one blog which is created by jim and that will also help you to fulfill this requirement. kindly have a look on that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 07:15 AM
In addition to harsh's point,
New client-scripts are run in strict mode, with direct DOM access disabled.
Access to jQuery, prototype and the window object are likewise disabled. To disable this on a per-script basis, configure this form and add the "Isolate script" field.
To disable this feature for all new globally-scoped client-side scripts set the system property "glide.script.block.client.globals" to false..
Thanks,
Abhishek
Abhishek Gardade