AttachmentExtractor automatically extracts e-mail & note attachments to storage platforms like SharePoint or Azure Blob. In case you have to change the location of the storage there are some things you have to take into account.
SharePoint:
When you use AttachmentExtractor to move attachments from Dynamics 365 to SharePoint, it saves them as links in Dynamics 365. This way, when you access an attachment in Dynamics 365, it actually opens the corresponding file stored in SharePoint, not the attachment itself.
If the location is changing, so do the URL of the link. To solve this problem, you just have to create a settingskey for AttachmentExtractor.
Name: SharePointRedirects
Value: Old location|New location
Please note: A pipe (|) separates a pair of strings defining the original SharePoint location and the replacement one.
With these settings key it is possible to redirect from the old location.
Please note: Multiple redirects can be defined if required, separated by semicolons (;).
- This does NOT move the actual files on SharePoint but only redirects the links saved in Dynamics 365 when using the retrieve plugins of AttachmentExtractor.
- Multiple redirects are evaluated in order of definition and will stop on the first match
Azure Blob:
AttachmentExtractor supports Azure Blob Storage (ABS) for storing large unstructured data like e-mails, documents, images, videos, and more, in the form of blobs.
If you have to change the Blob storage you are extracting your content to, please consider the following steps:
Step 1: Stop the existing AttachmentExtractor Service that points to the old Blob. Note: you can delete the service once stopped.
Step 2: Move the extracted content from the old Blob to the new Azure Blob Storage location.
Step 3: Now delete the ABS keys from the AttachmentExtractor settings in Dynamics 365.
Step 4: Now create a new AttachmentExtractor service heading to the new Azure Blob Storage location.
Now the extraction should work for the new location.
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.