12 Mar 2016

Fields of an Object in Salesforce

Fields:
Fields are nothing but Columns in the  regular Database of an Object.There are so many Field Values data Types contain by Salesforce as:
Text,TextArea,TextArea rich,textArea Long,
Auto Number,Date,DateTime,Percent,Number,
Picklist,MultiSelect Picklist,Email,Phone,Chechbox......

Navigation:

Setup.....>Build....>Create.....>Objects....>Open the Existing Object.....>Fields and Relations....>Select New

Step1....>Select Field Type and Next
Step2.....>Enter Field label,Length ,Description and Next
Step2...>Establish Field Level Security and Next
Step3....>Save.

Types of Fields:

There are 3 Types of Fields in Salesforce as

System Fields System Audit Fields Standered Fields
ID---->It is 18 character
or 15 character ID
Created By Id---->Id gennerated by
Systemcreate a field
Created by---->
Lookup to User
IsDelete--->It’s a Boolean Value indicates Record goes to Recycle bin or not Last Modified By Id---->Id gennerated
by System when record is Update or modify.
Owner----->
Lookup to User/Queue
Created Date---->Generates Date
when the Fielld is Created
LastModifiedBy--->
Lookup to User
Last Modify Date--->Generates date
when theField is modified/Updated.
Name----.>
Lookup to any Object
System Mod Stamp---->
Creates a Time Stamp

Example:
Custom Object
DOCTOR

https://ap2.salesforce.com/s.gif
Custom Object Definition Detail



Singular Label
DOCTOR
Description
1


Plural Label
DOCTORS
Enable Reports
Checked


Object Name
DOCTOR
Track Activities
Checked


API Name
DOCTOR__c
Allow in Chatter Groups
Checked




Allow Sharing
Checked




Allow Bulk API Access
Checked




Allow Streaming API Access
Checked




Track Field History
Checked




Deployment Status
Deployed




Allow Search
Checked




Help Settings
Standard salesforce.com Help Window

Created By
xxxx,2/23/2016 9:45 AM
Modified By
xxxx,2/23/2016 9:45 AM


https://ap2.salesforce.com/s.gif
Standard Fields

Standard Fields Help (New Window)

Action
Field Label
Field Name
Data Type
Controlling Field
Indexed
Track History

CreatedBy
Lookup(User)


Not Checked
Name
Text(80)

Checked
Not Checked

LastModifiedBy
Lookup(User)


Not Checked
Owner
Lookup(User,Queue)

Checked
Not Checked


Custom Fields & Relationships:


Action

Field Label
API Name
Data Type
Indexed
Controlling Field
Modified By
Track History
Edit | Del

Occupation_c
Text(12)


xxxx, 3/12/2016 7:37 AM
Not Checked