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

Convert List Of String to BLOB dataType

hi all,


I have a list of String and want to convert to Blob data type, so which API method can help me to do this? I only know the Encodingutil.base64Decode(String) method, but each String in my List contains a large numbers of characters, if i append Strings the limitation exception has been raised. Please, help me!!!


Try this


Blob blbVal = Blob.valueof(str);


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.


Hi Navatar,

I have array of String, and each of the array have large of character. So what solution can help me convert list of String to BLOB datatype.

DJ 367DJ 367
did you get any solution?