• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Save Document in Blobstorage

Save Document in Blobstorage

791 views 0 Updated on July 26, 2022

This functionality provides the possibility to store documents in Azure Blobstorage. There are two ways to achieve this. You can additionally store documents in blobstorage when creating an Automergeworkingitem or via a global setting, but in this case, documents will no longer get stored in Dynamics 365, solely in Blobstorage.

Learn here how to get an Azure Blob Storage SAS URL.

 

Additional storing in Blobstorage

  • If you want to additionally store documents in Blobstorage simply create a new Automergeworkingitem. You can do this via a workflow like in this example. For the basic information about how to setup a workflow in CRM look at this article.
  • At some point in your workflow procedure an Automergeworkingitem is created. Follow the instructions as described in the above article and make sure that all the necessary fields are filled out: Name (1), AutoMergeAction (2), TemplateToExecute (3), PrimaryRecordUrl (4) and SaveAs (5).


Figure 4: AutomergeWorkingItem

 

  • Go to “AttachToEntity” and paste the SAS token that was created into the Sharepoint-URL (1) field. Go to Direction (2) and change the value to “Entity To Blobstorage”. Save your changes.


Figure 5: Where to paste your SP-URL

 

Global Setting

  • The second opportunity to save documents in Blobstorage is via a settingskey. For further information on how to manually create a settingskey please have a look at this article.
  • Please Note: that in this case documents will no longer get stored in CRM but only in Blobstorage.
  • Open your Dynamics 365 and go to Settings -> MSCRM-ADDONS -> Products -> AutoMerge. Create a new settingskey named “SaveDocToBlobStorage” for AutoMerge and  paste the SAS token into the Value field of the key. That’s it.


Figure 6: Create a SettingsKey

 

Using the DCP-Dialog

When using the DocumentsCorePack dialog, make sure that CORS (Cross Origin Resource Sharing) is activated. You can activate CORS directly in Azure portal. For further information on this topic have a look here.


Figure 7: Activate CORS

That´s it! We appreciate your feedback! Please share your thoughts by sending an e-mail to support@mscrm-addons.com

Was this helpful?

Yes  No
Related Articles
  • Sample Templates 
  • Dynamic document Header & Footer selection via the DocumentsCorePack Dialog
  • Azure Blob Storage: Setting Recommendations 
  • Migrating One-Click-Actions Using the Data Migration Tool 
  • Force Service to be the only document-generating service
  • The DocumentsCorePack Dialog
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • Sample Templates 
  • Step-by-Step: How to create an account sales report template
  • Step-by-Step: How to create a NDA-contract template 
  • Step-by-Step: How to create a work order template
  • Step-by-Step: How to create a quote template 
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Online Service Configuration
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • How licenses are counted
Categories
  • *News and General Infos* 52
  • Webinars 37
  • Template Designer(DCP 192
  • DocumentsCorePack(DCP 204
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 64
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.