Customization Fields

Standard Fields:

` `

  • Are predefined in SFDC

` `

  • Cannot be deleted

` `

  • Can be removed from a page layout

` `

  • Can have limited customizations

Customizing Standard Fields

` `

  • Changing Labels: setup | Customize |Tab Names & Labels à Rename Tabs & Labels

` `

  • Adding Help Text: Setup | Customize | Name of Object | Fields | Edit

` `

  • Editing values in Standard Picklist Fields, Setup | Customize | Name of Object | Fields | Name of Field

` `

  • Editing lookup filters: Setup | Customize | Name of Object |Fields |Name of Fields

` `

  • Setting Field History Tracking: Setup | Customize | Name of Object | Fields | Set History tracking

` `

  • Changing Format of Auto-Number Fields: Setup | Customize | Name of Object | Fields | Name of Fields

Custom Fields

Using custom fields:

` `

  • Capture information unique to business processes

` `

  • Create up to 25 long text area custom fields

` `

  • Set the default value for a custom field

Data Loss in Custom Fields when:

` `

  • Change the data type of a custom field

    ` `

    • Deletes: List views, Assignment & Escalation rules

` `

  • Deletes Custom Fields and Undelete a custom field

Creating Custom Fields

Step 1: Choose the Field Type

` `

  • Select data type

` `

  • Data type depends on the data requirement of the custom fields

Step 2: Enter the details

` `

  • Custom field label creates a database of that name

` `

  • Description & Help text help users understand the significance of the field

Step 3: Establish field-level security

` `

  • Assign field-level permissions to profiles

Step 4: Add to Page Layouts

` `

  • Rob can select which page layouts the new field should be added to

Picklist: select values from a predefined list use picklists to:

` `

  • Speed up data entry

` `

  • Maintain data quality by allowing only permissible values

` `

  • Facilitate searching, reporting and filtering

Update existing records fi picklist options are removed

Replace tab should be used if picklist options are changed

Dependent Picklists:

` `

  • Work in conjunction with controlling picklists

` `

  • Make data more accurate & consistent

` `

  • Are indicated by an icon when viewing by a record detail page in edit mode

Things to Know:

` `

  • With dependent picklists, Rob can create multi-level dependencies

` `

  • Supported field types: Standard

Lookup fields can:

` `

  • Link 2 different objects

` `

  • Link an object to itself: setup | Customize | Search | Search Settings

Lookup Filters:

` `

  • Limit the records available in a lookup field

` `

  • Can reference:

    ` `

    • Other fields on the same record

    ` `

    • Fields on the records of the target object

    ` `

    • Fields on records directly related to the target object

    ` `

    • Fields on the user’s record, profile and role

` `

  • Required or optional

Dependent Lookups: Controlling & dependent

Custom Formula Fields:

` `

  • Can be used to build business-specific calculations

` `

  • Are read-only fields

` `

  • Are not visible on edit pages

` `

  • Are supported on standard and custom objects

` `

  • Cannot reference encrypted description, or custom long text area fields

Defining a Formula: Define formulas on the simple formula & advanced formula tab

Cross-object Formula Fields: use cross-object formula fields to reference fields from parent objects

Page Layout:

` `

  • Controls the display of detail & edit pages

` `

  • Controls page section customizations

` `

  • Allows you to set field properties

` `

  • Can be unique for a specific business scenario

` `

  • Can be assigned to a specific profile

Page Layout Editor: Setup | Customeize | Name of Object | Page Layouts

Assigning a Page Layout to a Profile: user profiles à page layout

Record Type:

` `

  • Define different sets of picklist values for standard & custom picklists

` `

  • Implement custom business processes by associating them to specific page layouts

Record Types can be assigned to users through permission sets

Creating a Record Type:

` `

  • Step 1: Specify Details

    ` `

    • Name

    ` `

    • Description

    ` `

    • Enable for profiles

` `

  • Step 2: Select Page Layout

    ` `

    • Select page layout for each profile

` `

  • Edit Picklists: select picklist values

` `

Record type used for records created through web-to-case: case use default record type of the default case owner

` `

  • Leads use the default record type of the default lead owner

` `

  • Administrators can add the Record Type field to page layouts

` `

  • Users can choose to always use an object’s default record type as set on their profile

Record Types with Business Process:

A business process describes the milestones that a record goes through from the time it si ‘new’ until it is ‘done’.

Using business process:

` `

  • Track sales, support, and lead lifecycles across divisions groups or markets

` `

  • Associate a business with one or more record types

usebusinessprocess

Creating Business Processes:

Steps:

` `

  1. Update master picklist

` `

  1. Create business process

` `

  1. Create record types and associates them with business processes

` `

  1. Add record types to profiles

Step 1: Ensure master picklist has all required values

Step 2: Add a description to let users understand the significance of the process

Step 3:

` `

  • Select the existing record type

` `

  • Record type label should be unique

` `

  • Record type is always created for a specific process

` `

  • Description and help text let users understand the intended use of the record type

Step 4: Select a page layout and decide which profiles it should be assigned to

Data Quality: using history tracking to maintain data quality. Setup | customize | Name of Object | Fields | Set History Tracking

For each field, history tracking logs:

` `

  • User making the change

` `

  • Date and time of change

` `

  • Old and new values

History Report

Data Validation

2 types:

` `

  • System data validation involves setting simple field properties to ensure valid data entry

    ` `

    • Required fields

    ` `

    • Unique fields

` `

  • Custom validation rules allow you to enforce more complex conditions, involving one or more fields, specific to your business process

Note: Custom validation rules are only executed if there are no errors from system validations

System Data Validation: Required & Unique Fields

Custom fields can be marked as required and /or unique at the system level to:

` `

  • Force users to always enter a value

` `

  • Prevent records with duplicate values

Required:

` `

  • Universally required on save

` `

  • Auto-added to add page layouts

` `

  • Cannot be hidden

` `

  • Editable on all profiles (FLS)

` `

  • Not for picklists, text area (long)

Unique:

` `

  • Stops duplicate values on save

` `

  • Existing duplicates cause error

` `

  • Email, number, text fields only

` `

  • Text fields can be treated as case-sensitive

Note: Fields can also be made required through the page layout, but this does not make them universally required

Custom Data Validation: Validation Rules

` `

  • Allows sys admin to specify this own business

    ` `

    • Specific criteria to prevent users saving invalid data in one or more fields

` `

  • Contains two components

    ` `

    • Formula or expression for data evaluation

    ` `

    • Error message

    ` `

` `

Example: Opportunity discounts must not exceed 20%

` `

  • User enters invalid values & tries to save

` `

  • Validation rule uses a Boolean statement to evaluate data

` `

  • If statement is true, save is stopped and custom message displayed

Setup | Customized | Name of Object |Validation Rules

Data Validation Design Methodology: The data validation methodology is a 4-step process, as shown in the flow chart:

datavalidationdesignmethodology

Customizing Activities: Tasks and events can be customized just like any other object

` `

  • Custom fields can be created for all activities

` `

  • Tasks and events can have validation rules, records types, and page layouts

` `

  • Edit standard picklists or modify activity settings to enable task and events features such as recurring tasks, group tasks, and more in the activity mode

Setup | Customize | Activities