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

Ankur Bawiskar
Tera Patron
Tera Patron

Hi James,

Out of the box users can add attachment to catalog item during submission using the paper-clip icon

Are you not using that?

I would recommend using that.

Portal View: -> Add attachments at the bottom

find_real_file.png

Native View: Paper-clip icon o right side

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks Ankur for your reply. I agree with you and recommend the same to my leader, but he don't want to use the paper-clip icon.

Hi James,

please stick to out of the box as far as you can;

If you add some macro etc for adding the file then it would be an issue

Example: if attachment added during catalog item submission how it would be carry forwarded to RITM

Also since this would be custom UI macro if something fails during upgrade ServiceNow won't provide support for this.

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi James,

Ensure you do a check for the attachment test

i.e. when attachment is added to the macro whether it is carry forwarded to RITM or not

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,


I have two different catalog items and for one paper clip works well but for the other the attachment is not being saved so when I look at the RITM it is not there. Any ideas where to look ? These were not done by me.