Document Set Download as a ZIP FOLDER Using OOB
One Of the Benifits of using document sets in SharePoint 2010,2013 is that it treats a single item and all its related documents as a workset. Means we can upload all documents related to an item inside itself. In Other words Document sets is a content type that acts as a container for the related documents for an item.
I come to know about the requirement related to download all the document from the document set.
So here is the key: we need to form the Url as below:
{SiteUrl}/_layouts/DocSetExport.aspx?List={ListId}&ID={ItemId}
Download the file from Document Library
SiteUrl}/_layouts/15/download.aspx?SourceUrl={ListName}/{FileName}
and rest of the things SharePoint will automatically manage.
One Of the Benifits of using document sets in SharePoint 2010,2013 is that it treats a single item and all its related documents as a workset. Means we can upload all documents related to an item inside itself. In Other words Document sets is a content type that acts as a container for the related documents for an item.
I come to know about the requirement related to download all the document from the document set.
So here is the key: we need to form the Url as below:
{SiteUrl}/_layouts/DocSetExport.aspx?List={ListId}&ID={ItemId}
Download the file from Document Library
SiteUrl}/_layouts/15/download.aspx?SourceUrl={ListName}/{FileName}
and rest of the things SharePoint will automatically manage.
No comments:
Post a Comment