Skip to main content
5 votes
Accepted

SFDX source pull field dependencies

This is 18 months later, and had cause to do this again today. The solution to this is to make a change to the actual object itself, no matter how small. The dependencies will then pull from the ...
Paul Taylor's user avatar
4 votes
Accepted

Is there any way to make a text field dependent on a picklist field?

The only fields eligible for dependency are Picklists and Checkbox fields. (Checkboxes can only be controlling, not dependent, fields). If you don't want to build custom functionality in Lightning or ...
David Reed's user avatar
  • 93.2k
4 votes
Accepted

set picklist default value

It is not currently possible. The only option you currently have is to set an initial default value for the dependent picklist on creation. This will only work assuming you also set a default on the ...
Kris Goncalves's user avatar
3 votes
Accepted

How to get references(where the field is used) of a custom field in salesforce via API or Tooling API

You can get dependency on any custom object using MetadataComponentDependency tooling API. But, this is still in beta version (MetadataComponentDependency). v49.0/tooling/query?q=SELECT+Id,+...
Vinay's user avatar
  • 3,528
3 votes
Accepted

How to read lightning:recordEditForm Object instead of using API

Found this (not the Best) workaround to get Object/field values. Instead of Wizard page buttons, used Next/Back buttons on each Lightning:RecordEditForm (bottom of page). Made the Next button type="...
Pasan Eeriyagama's user avatar
2 votes
Accepted

Picklist Dependent fields -- the dependent field I want is not available

As far as I know there are a few cases where a picklist cannot be a dependent field. Standard picklist fields cannot be dependent fields If a picklist is already a dependent field to some other ...
smukov's user avatar
  • 5,613
2 votes
Accepted

I wanna show a collection of fields dependent on the selected value of a pick list,while creating a new instance of an object

you need to bind the <apex:actionSupport /> to the component <apex:inputField /> by wrapping it. <apex:inputField value="{!Account.Type}"> <apex:actionSupport event="...
Praveen's user avatar
  • 10.1k
2 votes

Can I "Exclude Values" of a dependent picklist if I deploy via a Change set?

I think you answered your first question on your own. The best way to find out if it can be brought over via a change set is to try. If it doesn't work you'll have to do it manually. As for the ...
gNerb's user avatar
  • 9,508
2 votes
Accepted

Get field API Name of dependent field if picklist has dependency

This is pretty easy: getController() returns the token of the controlling field. Schema.DescribeFieldResult result = Lead.Field1__c.getDescribe(); if (result.isDependentPicklist()) { system....
Mariia Illarionova's user avatar
2 votes
Accepted

Global dependent field

Unfortunately as of now Salesforce doesn't support this functionality. So you need to create two separate fields on another object and then manually make them dependent. You can also vote this Idea: ...
Tushar Sharma's user avatar
2 votes
Accepted

extracting Field dependency metadata using SOQL etc

Check out the Dependency API. Check out this video: https://www.youtube.com/watch?v=vuj4Vcti-Z4 or here: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/...
Francis's user avatar
  • 808
2 votes
Accepted

Populate date field when another field is changed

I understand your question to mean that Turnover Date should reflect the last date/time that Turnover was changed. This cannot be done on a formula on its own. A workflow rule, process builder or flow ...
Menachem Shanowitz's user avatar
1 vote
Accepted

Deploying dependency picklist via Deployment does not reflect in org

The documentation clearly mentioned about the valueSettings. valueSettings: Used for the settings that describe a value in a custom picklist field. The picklist can have its own unique value set, or ...
Ankaiah Bandi's user avatar
1 vote

Retrieve picklist field value dependencies based on recordtype

You can use the ui-api (a REST API) to Get Values for All Picklist Fields of a Record Type, or describe the object and use the validFor property of each picklist.
sfdcfox's user avatar
  • 497k
1 vote

"Where is this used?" not showing Reports where the field is used in a converted version

I can't think of a workaround to this as it's all out of "our" hands. If you can put in a support case, I'd be interested in if this is a "bug" or just not properly documented as a ...
Kris Goncalves's user avatar
1 vote
Accepted

How to implement a custom Field Dependency with a Multi-select Picklist as controlling field?

Is it "possible"? Yes, but the amount of effort to create and maintain this feature would far outstrip any possible usefulness it might have. You'd have to build an entirely custom Visualforce page or ...
sfdcfox's user avatar
  • 497k
1 vote
Accepted

Field Dependency-How can i use 1 controlling field to 2 dependents

You cannot directly disable Transaction__c field based on Sub type field. You need to include Category__c field since this is a controlling field of Transaction__c. If you want to disable then ...
Vinay's user avatar
  • 3,528
1 vote
Accepted

Adding field dependency for a StandardValueSet field (OpportunityStage) isn't captured as a change in source

One alternate approach, for situations like this one where Source Tracking is missing subtle changes you've enacted in the org, is to ask SFDX explicitly to retrieve the involved entity rather than ...
David Reed's user avatar
  • 93.2k
1 vote

How to read lightning:recordEditForm Object instead of using API

Normally, for client side validaiton of input fields/values in lighting:recordEditForm's, I add an aura:id to the fields, and or/do my "validation" on field change or blur. This is generally more ...
glls's user avatar
  • 20.2k
1 vote

What is "Field Based Page Assignment Criteria" in relation to a custom field?

Answer provided by gNerb ^: I think there is a way to change how a community page looks based on information from a record. Is there any chance this field may have been used in a situation like this? ...
Josh Parylak's user avatar
1 vote
Accepted

Is there any way to check field dependency in salesforce

There is an upcoming Dependency API that is in pilot for Summer 18. It allows using the Tooling API to extract metadata dependency information. More information on StackExchange in pchittum's answer ...
David Reed's user avatar
  • 93.2k
1 vote

Updating Controlling Picklist with Process Builder

Though I have an experience of updating controlling and dependent picklist values through Process Builder. Here I could suggest you to check. User's profile should have field level security to those ...
Santanu Boral's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible