How to add a "File attachment" type variable in Service Catalog Item?

James100
Kilo Expert

Greetings.

As you know, we can add File Attachment field on a form.

find_real_file.png

Is it possible to add the same to a service catalog item as a variable? I couldn't find the file attachment variable type ..

Thanks.

1 ACCEPTED SOLUTION

RaghavSh
Kilo Patron

Hi,

This can be done through UI macro/ UI Page. There is a article related to this.

refer: https://hi.service-now.com/kb_view.do?sysparm_article=KB0529497 for same.

Pls. mark this correct/helpful, if applicable.

 

Thanks.


Raghav
MVP 2023

View solution in original post

14 REPLIES 14

RaghavSh
Kilo Patron

Hi,

This can be done through UI macro/ UI Page. There is a article related to this.

refer: https://hi.service-now.com/kb_view.do?sysparm_article=KB0529497 for same.

Pls. mark this correct/helpful, if applicable.

 

Thanks.


Raghav
MVP 2023

Thanks Raghav. I'll try this and feedback later.

Hi Raghav,

Actually, as per the requirement I need to make second attachment mandatory.

So, when I tried above suggested solution it's working when I tried with "Try it" option but it's not working at Portal. 

Kindly suggest me for the same. 

 

Thanks,

Koushik

For portal there should be a widget, can you share the code.

 

Also from Paris release you can have a variable as an attachment and can make it mandatory easily :

https://community.servicenow.com/community?id=community_article&sys_id=d21e5f76dbf610147d3e02d5ca961...


Raghav
MVP 2023