The CreatorCon Call for Content is officially open! Get started here.

download all attachments into a folder ?

hibye
Giga Contributor

i want to download all attachments to a folder... that are attached to any table i.e incident,problem,change

How it is possible? share your ideas

6 REPLIES 6

prasadh
Giga Contributor

Hi Shabbir,



Please refer : Attachments in ServiceNow



Thanks,


Prasad


chavayoshitha
Kilo Expert

Hello

 

https://jefferiesdev.service-now.com/download_all_attachments.do?sysparm_sys_id={your record  sys_id here}

 

click helpful if it is helpful!

Sumanth16
Kilo Patron

I have tried this,but it is not possible.


I have implemented following method:

1) I have created one custom table then after I have used glidesysattachment.copy function to copy attachment from source table to target table record up to 1gb limit(ServiceNow best practice to attach only 1gb limit of attachments into record)  of attachments by assigning record numbers.When you click on download all button in record ,it will download all attachments into system directly.This is the process I have followed,if you use asynchronous call then it will be very fast but you need to perform some manual steps.Run scheduled job in periodically then it will create records automatically in custom table ,it will copy attachments from one table to another table.

 

ARG645
Tera Guru

hibye,

Are talking about downloading all the attachments on the Entire table ? If yes, please take into account that you may be downloading GB's of data. 

You should consider to download a Zip File by using SNGurus solution, understand it and tweak it according to your needs so that all the files will be included in the ZIP file. Not sure how large a ZIP file can be, but I am sure it can handle GB's and GB's of Data. 

Download Attachments as a ZIP File

 

Thank you,

Aman Gurram