8Aprile 2021 Note: This tool is nomore supported and i have developed an alternative Xrmtoolbox plusgin which can be used for same purpose: https://vishalgrade.com/2021/04/08/how-to-download-all-attachments-in-ms-crm-data-verse-ms-crm-attachment-downloader-xrmtoolbox-plugin/
Recently faced a requirement where crm user wanted to download attachments of certain records from a crm instance.
I thought why not build an application to do the same.
You can download the MSCRMAttachmentDownloader solution and start making changes according to your need.
I have also created a MSCRMAttachmentsDownloaderInstaller setup which can be installed on system and you can start using it.
Code is available for the project on github on links mentioned above.
Note:- Application is compatible with on-premise Dynamics crm 2016 or below version as of now.
Let’s test it:-
I have already installed it, you can download it from MSCRMAttachmentsDownloaderInstaller and install:-
Go to MSCRMAttachmentsDownloaderInstaller and click download zip as follow:
Unzip the downloaded file, and navigate to debug folder.
In debug, click on setup.exe file and install the application
Follow the simple installation process. The application will get installed.
Run the application “CRM Attachment Downloader” from desktop and provide necessary details as shown below:-
Once connected, application will take you to the next page as shown below:-
Click browse and select a location where you want to download the attachments:-
Get the fetch xml of records for which you want to download attachments.
For example cases created on today:-
On clicking download, an xml file will get downloaded, open the file in notepad and copy the fetch xml.
Replace the default fetch xml with in fetch xml box of CRM Attachment Downloaded application with copied xml:-
Click the download button. The attachments from all the record of fetch xml result will get downloaded into your selected download location folder:-
Click view to see downloaded files:-
Hope the application will be useful.
Waiting for your feedback. Also if anyone can contribute to the project, can contact me on firstname.lastname@example.org.