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 add choose file button with upload in catalog form?

meera5
Tera Contributor

How to add choose file button with upload in catalog form?

 

Could you please help me on this

 

meera5_0-1690221854266.png

 Regards,

Yamini.

1 ACCEPTED SOLUTION

Manmohan K
Tera Sage

Hi @meera5 

 

You can create a attachment type variable as shown below

 

ManmohanK_0-1690223886956.png

 

It will show up as below in portal

 

ManmohanK_1-1690223953594.png

 

 

View solution in original post

6 REPLIES 6

 

Here it's not possible to hide that button instead we can hide the attachment variable based on condition 

We can achieve that using Catalog UI Policies or Catalog Client Scripts when the condition depends on the values of the variables used in the catalog form.

 
 

 

Here it's not possible to hide that button instead we can hide the attachment variable based on condition 

  • We can achieve that using Catalog UI Policies or Catalog Client Scripts when the condition depends on the values of the Variables used in the catalog form.