Remove Suggestion from Short Description

Brian Lancaster
Tera Sage

I created an app extended from task table.  I reused short description field.  Is there a way to hide the suggestion button that appear next to short description for this table?  It is not needed and would possibly cause confusion for the users.  I'm hoping there is a way to do this without DOM Manipulation.  I was able to remove knowledge by overwintering the variable attribute but I did not see anything for suggestion in the variable attributes.

1 ACCEPTED SOLUTION

Waleska
Kilo Guru

From my understanding, there is no way to disable the Suggestion button via a Dictionary Override. I was able to find this from about 10 months ago with a kind of work-around to create a UI Macro that will allow you to override the tables you want the suggestion to be on so that you can disable the Suggestion option on the overall Task Short Description Dictionary entry: 

https://community.servicenow.com/community?id=community_blog&sys_id=ad3d367edb806f04feb1a851ca961953

View solution in original post

8 REPLIES 8

Waleska
Kilo Guru

From my understanding, there is no way to disable the Suggestion button via a Dictionary Override. I was able to find this from about 10 months ago with a kind of work-around to create a UI Macro that will allow you to override the tables you want the suggestion to be on so that you can disable the Suggestion option on the overall Task Short Description Dictionary entry: 

https://community.servicenow.com/community?id=community_blog&sys_id=ad3d367edb806f04feb1a851ca961953

I am getting a error when I try to create the UI Macro.

"Error at line (22) The value of attribute "style" associated with an element type "span" must not contain the '<' character."

Just reviewed the  code that was provided by that use. Looks like you have to remove the semicolon and close the quotation on line 22. So Line 22 should look like this. Now I did not test this code myself, but this removes the error.

<span class="icon icon-lightbulb" style=";"></span>

 

Now I have two light bulb buttons.