How to remove the NEW button from the simple list widget "view all" option

Danny Barker
Tera Contributor

Hello,

I added a simple list widget to my service portal for Incidents.  There is a view all option that opens my additional incidents.  In this expanded list view, there is an option to create a new Incident.  We want to remove this button so users only create by following our custom links on the main page of the portal.   How can we remove the new button below.

Any Help would be greatly appreciated.

 

DannyBarker_1-1708028158277.png

 

 

1 ACCEPTED SOLUTION

Andrew_TND
Mega Sage
Mega Sage

Hi @Danny Barker 

 

The function for this isn’t in the console where the JavaScript, CSS etc is… Go to the widget and open instance options.

 

From there add this to the JSON format in the instance.

 

 

{  

 

  "show_new" : {  

 

  "displayValue" : false,  

 

  "value" : false  

 

  }

 

Please mark as helpful or if it’s resolved the issue, CORRECT!

View solution in original post

4 REPLIES 4

Saloni Suthar
Mega Sage
Mega Sage

Hello!
Please review these articles for the solution - https://www.servicenow.com/community/now-platform-forum/hide-new-button-from-the-service-portal/m-p/....
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0719225

If my response helped you, please mark it as correct or helpful.






If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni

Andrew_TND
Mega Sage
Mega Sage

Hi @Danny Barker 

 

The function for this isn’t in the console where the JavaScript, CSS etc is… Go to the widget and open instance options.

 

From there add this to the JSON format in the instance.

 

 

{  

 

  "show_new" : {  

 

  "displayValue" : false,  

 

  "value" : false  

 

  }

 

Please mark as helpful or if it’s resolved the issue, CORRECT!

Cameron Manzi
Tera Contributor

Hello,

 

I'm also having the same issue but when trying to implement this, it's not working. I'm not sure what I'm missing. 

CameronManzi_0-1712155453348.pngCameronManzi_1-1712155471704.png

 

I figured out what my issue was. I was in the wrong place.

Right place.

CameronManzi_2-1712157049958.png

Wrong place.

CameronManzi_3-1712157107783.png

Thanks to all you brilliant people out there!