- Salesforce - Navigating Setup
- Salesforce - Service Cloud
- Salesforce - Sales Cloud
- Salesforce - Environment
- Salesforce - Architecture
- Salesforce - Overview
- Salesforce - Home
Salesforce Objects
- Salesforce - Schema Builder
- Salesforce - Lookup Relationship
- Salesforce - Master Detail
- Salesforce - Custom Objects
- Salesforce - Standard Objects
Data Security
- Salesforce - Define Sharing Rules
- Salesforce - Create a Role Hierarchy
- Salesforce - Control Access Records
- Salesforce - Control Access Fields
- Salesforce - Control Access Objects
- Salesforce - Control Access Org
Process Builder
- Salesforce - Using Formula Fields
- Salesforce - Dashboards
- Salesforce - Reports
- Salesforce - Exporting Data
- Salesforce - Importing Data
- Automate Business Processes
Visualforce
- Salesforce - Static Resources
- Salesforce - List Controllers
- Salesforce - Using Forms
- Salesforce - Records, Fields & Tables
- Salesforce - Standard Controllers
- Salesforce - Variables & Formulas
- Salesforce - Visualforce Pages
Salesforce Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Salesforce - Lookup Relationship
A Lookup relationship involves finding value of a field based on the value in another field in another object. It is mostly used in the case of commonly shared data between two objects.
Example
In the courier company, we have a depvery location which must be related to a depvery schedule. So we have a field "DepverySchedule" in the object Depvery location that looks up for values from the other custom Object named "Depvery Schedule". Let us now see the steps to create such a lookup relation.
Step 1
First we identify the objects and the fields which need to have the relationship. In our example, these two objects are Depvery Schedule and Depvery Location.
Step 2
Create a Custom Object named DepveryLocation as we did in the previous chapter. In it, go to the tab fields and relationships. Cpck New → Custom Filed → Lookup Relationship. Choose the field type as lookup field and enter the details as shown below.
Step 3
You can verify the lookup relationship created by going to the schema builder and choosing the two objects for display.
Advertisements