function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
soni rajputsoni rajput 

How to download multiple vcf files on Button Click ?

I have a Button for storing .vcf file in Document object. However, my requirement is to save that file in the system. 

Is it possible to download a file on clicking a Button in salesforce ?


Is the process of downloading a single or multiple file same ?



You are talking about a button in VisualForce?

And saving in a local computer?Could you detail your requirement?

soni rajputsoni rajput

Yes i am talking about visual force button.

And saving in a local computer. 

My requirement is to save multiple vcf file from salesforce to local computer with single click of Visual force button


Thank you...

try this in VF



<a href="/servlet/servlet.FileDownload?file={!Document.Id}">Download file</a>