Field Dependency in Salesfroce
Field Dependency in Salesforce:
Points to remember regarding the field dependencies:
- The value selected in the controlling field affects the values available in the dependent field.
- We can define custom picklist fields as controlling or dependent fields whereas standard picklist field can only be defined as controlling fields.
- We can define default values for controlling field whereas for the dependent field we can't define default values.
- We cannot define multi-select picklist field as controlling field.
- We can define checkbox field as controlling field only.
Creating field dependency fields in Salesforce Org:
To create a dependency:
- Go to the setup menu and select the object for which you want to create.
- Click on field dependencies button.
screenshots for reference.
Click on the continue and include the values for the dependent field(States) and then save.
Field Dependencies are created now. To test this, go to the account record and edit country field and a select country as India, once you select the country you will get the only state related to India.
Comments
Post a Comment