Posts

Showing posts from January, 2023

Dynamic Export of SharePoint Documents as Zip folder via Model Driven Apps selecive Views

Image
Downloading SharePoint Documents in Bulk as a ZIP folder for (Printing / Maling purpose etc.) via Model Driven based on your selective filter is a highly demand featured now a days. Our Team has able to develop a Solution which was eventually a game changer as part of our G-Banking Product, so decided to share it with community. Objective: To Download multiple documents directly to your PC from SharePoint from Model Driven Apps based on your Views criteria. Solution : Solution comprises of 4 main components. Custom Button with Library JavaScript Action Plugin Below will be the Final Results you will See on Your Screen. Plugin Code: using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Query; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; namespace CustomerPlugin {     public class AccessTokenCallPlugin : IPlugin     {      ...