- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 07:58 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2025 08:47 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 08:25 AM - edited 02-08-2025 08:27 AM
Hello @Vetcha Prasanna
Please check below links
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0682399
Solved: hide/remove the suggestion icon on the short_descr... - ServiceNow Community
Hide 'Search Knowledge' or 'Suggestion' Icon in ServiceNow - ServiceNow Guru
Solved: Scoped App - DOM Manipulation not allowed in clien... - ServiceNow Community
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 09:15 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 11:01 AM
Hello @Vetcha Prasanna
I tried in pdi for incident table by writing onload client script as below
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2025 08:29 AM
Hello Viraj,
I already tried above script but it didn't work for me.
Thanks