Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to hide submit button for catalog item

deepikad1601339
Tera Contributor

Hello All,

 

i want to hide the submit button for  particular catalog item because we are using not using variables within the item.

Since the description contains a hyperlink that redirects to another page, we need to hide the submit button in all views.

 

As of now I hided the submit button through client script, in the top of script i am getting one note can anyone please let know is I am doing good approach or not?

 

please find the attachments.

Thank You!

3 REPLIES 3

Periyasamy P
Tera Guru

Then i suggest you use content item, it will help you to just show information or external link to user. And they can't submit as request. For more details, refer Define a content item

Brian Lancaster
Kilo Patron

Use a content Item instead of a catalog item. Its a type of catalog item where you can just display content and it will not have a submit button. Its found under Service Catalog > Catalog Definitions > Content Items. Then you can set it up like this.

BrianLancaster_0-1753978349025.png

Then when you open the item as you can see there is no submit button.

BrianLancaster_1-1753978457068.png

 

SD_Chandan
Kilo Sage

Hi @deepikad1601339 ,

If you just want to show information go with a content item.
Product Document For Content Item



Thank you
Chandan