- Salesforce Lightning Reporting and Dashboards
- Johan Yu
- 235字
- 2021-07-15 17:13:21
Object relationships
You can relate an object to other objects in Salesforce. For example, relating a custom object Expense to custom object Project. With this relation, you'll know which expense record is used for which project. Project, in this example, will be considered as the parent object, and Expense as a child object. From the record-level perspective, one parent can have many children, while the child can only have one parent. To build this relationship from the child object, create a Lookup Relationship or Master-Detail Relationship field to the parent object.
There are three types of object relationships in Salesforce, which are as follows:
- Master-Detail Relationship
- Lookup Relationship
- Hierarchical Relationship
The following table compares the Master-Detail Relationship and Lookup Relationship:

Hierarchical Relationship is a special Lookup relationship available for the user object only. It lets users use a lookup field to associate one user with another, which does not directly or indirectly refer to itself. For example, you can create a custom Hierarchical Relationship field to store each user's reporting manager.
- Mobile Web Performance Optimization
- Rust實戰
- Python自動化運維快速入門(第2版)
- 基于免疫進化的算法及應用研究
- Production Ready OpenStack:Recipes for Successful Environments
- 實戰低代碼
- Java編程技術與項目實戰(第2版)
- Teaching with Google Classroom
- Android應用案例開發大全(第二版)
- 微服務架構深度解析:原理、實踐與進階
- Mobile Device Exploitation Cookbook
- FFmpeg開發實戰:從零基礎到短視頻上線
- WildFly Cookbook
- 視窗軟件設計和開發自動化:可視化D++語言
- Puppet:Mastering Infrastructure Automation