Suppose In Apex Form I Have few Input fields i.e,Text.

<Apex:inputText value={!name} />

Now I want to know the data enetred in Name field is how many bytes size.

  • 1
    If you don't mind me asking, why do you need to know how big the input field is? – Christopher Alun Lewis Jun 2 '14 at 19:00

Salesforce does not calculate data size bases on fields. Each record in custom object is of 2kb.

How does SalesForce calculate Data Storage usage amount?

Leads -- 2KB
Contacts -- 2KB
Accounts -- 2KB
Person Accounts - 4KB
Opportunities -- 2KB
Forecasts -- 2KB
Events -- 2KB
Tasks -- 2KB
Cases -- 2KB
Case Team Member – 2KB
Solutions -- 2KB
Notes -- 2KB
Custom Reports -- 2KB
Campaigns - 8KB
Campaign Members – 1KB
Contracts – 2KB
Google Docs – 2KB
Quotes – 2KB
Tags: unique tags – 2KB
Custom Objects – 2KB
Quote Template Rich Text Data - 2KB
Articles - 4KB

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.