Validation rules help you to improve data quality by preventing users from entering incorrect data. We can write one or more validation rules that consist of an error and a corresponding error message.
Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record.
A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value of “True” or “False”. Validation rules also include an error message to display to the user when the rule returns a value of “True” due to an invalid value.
→ Select the object where you want to define the Validation rule
→ From the object, go for validation rule property
↓
Click on new
Rule name DOJ rule
Active [⁄]
Date of joining—c>Today ()
Error message ↓
Enter correct date
Error location Top of page Field
↓
Save
Page layouts control the layout and organization of buttons, fields, s-controls, Visualforce, custom links, and related lists on object record pages. They also help determine which fields are visible, read-only, and required. Use page layouts to customize the content of record pages for your users. It determines the types of fields and their organization to a specific user on a page.
Creating a new page layout for employee object
Click on you → setup → create → objects → click on employee object → go to properties of employee object → select page layout → new
Interested in mastering Salesforce? Enroll now for FREE Demo on Salesforce Online Training |
Record types let you offer different business processes, picklist values, and page layouts to different users. The record type is used to create an interface that suits the business process.
Record types are :
It is the storage structure to store the data in an efficient way.
→ To create a data model we require
→ Every project starts from the creation of a data model in which, various objects, fields, relationships and validation rules are defined along with page layouts.
→ The next step in the process is to fetch the data in the data model, there are various mechanisms to fetch data into the data model :
→ Importing data from CSV file to the DB ↓
Comma separated value
→ The CSV file can exist anywhere on the system
→ Creating CSV file:
Related Article: Salesforce Interview Questions and Answers |
Steps to import data through a custom object:
Click on user name → Setup → Administration setup → Data management → Import custom object → Select 6 to start the import wizard
↓
Step1: choose record → From the list below, choose the object label
Step 2: prevent duplicates
Step 3: specify relationships
Which user field are you including in your file to designate record owners?
Step 4: file upload
Step 5: field mapping
Step 6: verify import settings
Click Import now
Import now ←|
Step 7: import initiated
Finish ←|
The maximum limit of import data is 50,000 records per session
Per session we import 50 k records only
Session means log in and logout
DATA LOADER
Data Loader is a client application for the bulk import or export of data. Use it to insert, update, delete, or export Salesforce records
The advantage of using import wizard is that it supports various languages and checks for duplicates.
To overcome the limit of 50 k records per session, we use an Apex data loader.
Apex data loader:
→ This is a local system software that can import data to SFDC
→ Apex data loader present version is 2.2.0
→ The various operations that can be performed through Apex data loader are:
Insert: creates a record
Update: modifies a record
Upsert: either insert or update
Delete: removes records
Export: fetch data from SFDC
Importing data through Apex data loader to SF:
From the mail, enter the file my personal information
Security token along with your pwd, reset, security token
Mindmajix offers different Salesforce certification training according to your desire with hands-on experience on Salesforce concepts
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
Salesforce Training | Dec 21 to Jan 05 | View Details |
Salesforce Training | Dec 24 to Jan 08 | View Details |
Salesforce Training | Dec 28 to Jan 12 | View Details |
Salesforce Training | Dec 31 to Jan 15 | View Details |
Arogyalokesh is a Technical Content Writer and manages content creation on various IT platforms at Mindmajix. He is dedicated to creating useful and engaging content on Salesforce, Blockchain, Docker, SQL Server, Tangle, Jira, and few other technologies. Get in touch with him on LinkedIn and Twitter.