Hello, do you want to know about “How to create Field Dependencies in Salesforce”?. In this post we will discuss about Field Dependencies in Salesforce, How to create Field Dependencies in Salesforce, how to create a field dependency in salesforce, how to set field dependency in salesforce, how to find field dependencies in salesforce, how to add field dependency in salesforce, what is field dependency in salesforce,
What is Field Dependency in Salesforce?
Field dependencies in Salesforce are filters that allow the user to change the contents of a picklist based on the value of another field.
Example:- Here are two fields called Country and State. We need to display all the states related to the Country field. Similarly, Districts are related to States. Here one field depends on another field.
In Field Dependency, we need to know about two fields
- Controlling Field.
- Dependent field.
What is Controlling Field in Salesforce?
Controlling Field: A controlling field is one that controls the available values in one or more corresponding dependent fields.
What is Dependent Field in Salesforce?
Dependent field: A dependent field displays values based on the selected value.
- Custom picklists can be controlled as well as dependent fields.
- The standard picklist field is used for controlling.
- Default values can be set for the controlling field.
- We cannot set default values for a dependent picklist.
- Multi Select picklists can be dependent.
- The controlling field must be added to the page layout.
- We can add 300 values in the controlling field.
How to create Field Dependencies in Salesforce?
- Login to Salesforce and create Field Dependencies in Salesforce for pharma products.
- Go to Setup – Build – Create – Objects – Pharma Product – Custom Field and relationships – Field Dependency.
Click on the “Field Dependencies” as shown above.
Since there are no Field dependencies in the object, click the New button.
Now select the controlling field, and the Dependent field. Here we select the controlling field as the category and the dependent field as the subcategory.
To record the values, double-click the values. We select Small, Medium, and Large categories. Finally, click the Save button.
How are Field Dependencies Working in Salesforce?
To check how Field Dependencies work in Salesforce, go to Pharma product and click New. Now when creating a category record and subcategory field exists.
When we select large as the controlling field, In dependent fields large1, Large2, and Large3 sub-category items will be displayed as drop-down.
Here we clearly understood the Field Dependencies in Salesforce, How to create Field Dependencies in Salesforce, how to create a field dependency in salesforce, how to set field dependency in salesforce, how to find field dependencies in salesforce, how to add field dependency in salesforce, what is field dependency in salesforce. In our upcoming Salesforce tutorials, we’ll learn Page Types and Page Elements in Salesforce.com.
- Rollup Summary Field in Salesforce
- Create a Formula Field in Salesforce
- how to create schema builder in salesforce
- Many to Many Relationship in Salesforce
- How to Create Lookup Relationship in Salesforce
- How to Create Master Detail relationship in Salesforce
- Salesforce Object Relationships Overview
- How to Create Custom Fields in Salesforce
- How to Create Custom Objects in Salesforce
- How to Create an APP in Salesforce
- Salesforce.com Application Hierarchy
- How to Login Salesforce
- What is Cloud Computing, Definition, Types, Example
- Difference Between ERP and CRM in Salesforce
- How to Create Validation Rules in Salesforce