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:
Go to Setup ► Security Controls ► Remote Site Settings
Create a new page with the following specification:
Remote Site Name: AzureBlobService
Remote Site URL: https://attachmentsexpert.blob.core.windows.net
Check the Active box
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 :
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article