How can I use Azure Blob server to save my attachments?

Modified on Fri, 13 May, 2022 at 2:31 PM

How can I use Azure Blob server to save my attachments?

User can save their files on Azure Server by Creating a New Profile or for Azure or by selecting Azure Blob in the default storage server settings and integrate it with their own Azure Blob Server.

Instance Storage Server Setting-

    • Click on the New Profile for creating Azure Profile

    • Select the Storage Type as Azure.

    • Provide the Account Name and Account Key.

    • Click on Save in order to save the Azure Storage Server Setting in the Instance.

    • Container name will be the name of the folder on Azure server which your organization uses to save the attachment.


Setup►Install Packages► Configure► Azure



                                                                Fig-8.1


Remote Site Settings -

While saving attachments on Azure Blob, user needs to specify the account name in which the attachment needs to be saved at the server side.

For this it is possible that the user gets the following error while saving the profile settings for Azure Blob [Fig 8.2]



Fig-8.2

To avoid this error user will have to add the following remote site settings to their salesforce instance:

The below example will show how to add ‘attachmentsexpert’ account settings to salesforce:

  1. Go to Setup ► Security Controls ► Remote Site Settings

  2. Create a new page with the following specification:

  3. Remote Site Name: AzureBlobService

  4. Remote Site URL: https://attachmentsexpert.blob.core.windows.net

  1. Check the Active box

  2. Save the settings

Note: In the above example, Remote Site Name can consist any name which the user prefer. The Remote Site URL should consist of the specified URL only with the respective account name in place of ‘attachmentsexpert’.


Configurational settings on Azure Blob storage server :

https://orektic.freshdesk.com/solution/articles/3000077151-configurational-settings-on-azure-blob-storage-server








Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article