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
SATYA ADMINSATYA ADMIN 

How to create a custom field of tye blob for custom object?

James LoghryJames Loghry
There is no blob field type in Salesforce.  A couple of thoughts here.  Either you can store it as an attachment related to the record, or store it as a very large string, hope the blob doesn't exceed the size of the string, and handle any encoding / decoding through triggers, etc.
Aneske Meiring 10Aneske Meiring 10
@satya, What is it taht you want to achieve? maybe more info can help us
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_primitives.htm
https://developer.salesforce.com/forums/?id=906F0000000Ax5sIAC