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
john.krjohn.kr 

how to create boolean field to the object !

 

how to create boolean field to the object !

 

Need to add a field to contact, If it's Validated that defaults to true

Best Answer chosen by Admin (Salesforce Developers) 
Rajesh SriramuluRajesh Sriramulu

Hi

 

U can select checkbox as datatype to create boolean  type.

u can see:

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_custom_objects.htm

 

Let me know any issue and if it solves ur problem plz accept it solution.

All Answers

Rajesh SriramuluRajesh Sriramulu

Hi

 

U can select checkbox as datatype to create boolean  type.

u can see:

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_custom_objects.htm

 

Let me know any issue and if it solves ur problem plz accept it solution.

This was selected as the best answer
Navatar_DbSupNavatar_DbSup

Hi,

 

For creating a Boolean field in the contact object follow the below steps:

Setup->customize->contacts-> Fields->click on New button->select radio option Checkbox ->click on next button->select Default Value->checked and follow the further steps.

 

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

YogeshYogesh
In Salesforce there is no Boolean datatype for objects instead you may used checkbox as boolean datatype.