function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
My Salesforce 20My Salesforce 20 

How to retrieve data from URL to BLOB?

Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/64758/dataurl-to-blob

https://developer.salesforce.com/forums/?id=906F00000008zNxIAI

https://www.sundoginteractive.com/blog/saving-the-contents-of-an-image

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Deepali KulshresthaDeepali Kulshrestha
Hi,

Please refer below links:
https://stackoverflow.com/questions/44070437/how-to-get-a-file-or-blob-from-an-url-in-javascript
https://stackoverflow.com/questions/12168909/blob-from-dataurl

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks.    
Deepali Kulshrestha
Talha SaqibTalha Saqib
Please try the following resource:
https://retrology.net/how-to-create-a-file-from-an-email-attachment-in-salesforce