Questions tagged [field-dependencies]
The field-dependencies tag has no usage guidance.
52
questions
-1
votes
0
answers
22
views
Add textfield in "Edit Dependencies"
Is there a way to add a free text area box on "edit dependencies" pop up when choosing as Reason Declined "Other" ?
I know by standard this is not possible as dependent fields ...
1
vote
1
answer
300
views
Field Dependency implementation in Custom Picklist field type using LWC giving `[NoErrorObjectAvailable] Script error `
We are trying to implement field dependency in custom picklist field type with LWC. For this I created one LWC component to define custom lightning datatable. And I am using custom picklist fileds ...
-1
votes
1
answer
164
views
How to make a number field dependant from a checkbox?
In sales orders I have 2 custom fields Qnty and Free Qnty and a checkbox Free Qnty Only. For orders, that have a number in Quantity it's possible to enter Free Quantity and the checkbox is set to ...
1
vote
0
answers
205
views
Create Record LWC Lightning-Record-Edit-Form Stage to Forecast-Category fields not dynamically changing
I have an existing action on a contact that creates a new Opportunity. The Stage field has picklist value mappings to the Forecast Category fields. On a Create-Record type of action, when the Stage ...
1
vote
1
answer
2k
views
Deploying dependency picklist via Deployment does not reflect in org
As per documentation valueSettings and controllingFieldValue should be responsible for adding or removing field dependencies.
But interestingly nothing works.
I tried removing a node of valueSettings ...
0
votes
0
answers
145
views
Inconsistency between Field Dependency values and Picklist values salesforce
In the field dependency mappings, there are few values which doesn't match with the actual field's picklist values. For instance, There's a picklist called MyDependent__c and the values which we have ...
0
votes
1
answer
1k
views
Field dependencies/Dependent picklist
Hii wondering if this is possible. Can I have a value default in a dependent pick list based on the controlling field selection (I only have 1 value in the dependent field). So can this be defaulted ...
0
votes
1
answer
1k
views
Updating controlling picklist through data loader or workbench does not respect field dependency
I have field dependency defined for two picklist field
Controlling picklist: field 1 which has picklist Value 1,2
Dependent picklist: field 2 which has picklist Value 3,4
Field dependency 1->3 and ...
1
vote
1
answer
1k
views
Retrieve picklist field value dependencies based on recordtype
I want to retrieve picklist field values based on recordtype dependencies.
I know there's a way to achieve this via MetadataAPI but is there anyway to accomplish this with REST API call/s?
Regards,
1
vote
1
answer
1k
views
set picklist default value
For the Deployment Scenario picklist - the default option is 'not completed'
I have created field dependencies, to ensure that Alibaba, AWS, Azure, Google, IBM Cloud, Oracle Cloud are only displayed ...
1
vote
0
answers
80
views
Restrict Users from updating one field before another dependent field is updated and Saved
In my Org, there are two interdependent fields named Pacing and Pacing Notes.
The Pacing can't be set to Customer-Specific until the Pacing Notes field is empty. I am checking and validating this ...
1
vote
0
answers
694
views
Is it possible to have multiple or "chained" field dependencies?
For opportunities, we have a Type field with values Waste Water, Semiconductor and Industrial. We have a Stage field with values Budgetary and Quote/Proposal. We have a Probability field with values ...
1
vote
1
answer
3k
views
Populate date field when another field is changed
I have two fields: Turnover and Turnover Date. The 'Turnover Date' is a formula field which needs to be automatically populated when the 'Turnover' field is changed/updated. Is there anyway to achieve ...
0
votes
1
answer
811
views
Path shows only related dependent picklist values of the controlling field
Can we create custom Path component on dependent picklist. The path should show only available value in the dependent picklist. Values can be changed on selection of controlling field.
Let say, if ...
1
vote
1
answer
834
views
"Where is this used?" not showing Reports where the field is used in a converted version
I just hit this —which seems to be a bug— and need to find all the reports where a field is being used. Any tips other than retrieving the metadata and ctrl+f for it?
edit:
This is happening in an Org ...
2
votes
2
answers
1k
views
How to get references(where the field is used) of a custom field in salesforce via API or Tooling API
I want to find the references of a custom field i.e. where is the field used e.g. Layouts, Apex Classes, etc. via the AP/Tooling API.
There is an option on UI in professional salesforce orgs called ...
-1
votes
1
answer
1k
views
How to create a Field dependency between Case Status to Case Type in Salesforce
we have a Two Standard Fields in Case Object like Status(picklist) and Type(Picklist).
When i click the Status is closed, That related Type Picklist Field Need to Dependent.
How to Solve this issue. ...
0
votes
0
answers
88
views
Lightning Quick Actions Buffering Issue on Component
I am using Case Quick Actions layout on Case Page. Here as it can be seen, Product is RENT.
But when I click on inline Edit for any one of the fields in the layout, the value of Product becomes blank....
0
votes
1
answer
512
views
Field Dependency-How can i use 1 controlling field to 2 dependents
I have a Sub type controlling field and the Category__c is it's dependent.
The Category__c field is also a controlling field.
And it has 2 dependents: Transaction__c and Transaction_SRU__c.
I want to ...
1
vote
1
answer
1k
views
Adding field dependency for a StandardValueSet field (OpportunityStage) isn't captured as a change in source
GOAL/OBJECTIVE:
Add a dependent picklist (Loss_Reason__c) to the StandardValueSet : OpportunityStage, using SFDX as the package deployment method (rather than ANT Migration Tool).
The fields (...
1
vote
0
answers
1k
views
REST API - Picklist UI API Error
I have written apex code block to fetch picklist values for dependent picklist fields for a custom object using Picklist UI API for Community Portal users.
The request URL looks like this:
https:///...
1
vote
1
answer
1k
views
How to include custom field in a standard object using package manager?
I am trying to turn an app into an unmanaged package using the package manager's wizard in setup.
The app has some custom fields within standard objects that I am trying to include in the unmanaged ...
3
votes
3
answers
2k
views
How to read lightning:recordEditForm Object instead of using API
I got 3 lightning:recordEditForm components on a wizard (3 pages handled by slds-hide/show) to capture details. At the last wizard page it must save first object, and 2nd object must get first object'...
0
votes
1
answer
843
views
How to implement a custom Field Dependency with a Multi-select Picklist as controlling field?
Right now a Multi-select Picklist could only be on the dependent field. There is a custom way to use it as controlling field?
Right now my workaround is to use a validation rule to avoid the update/...
1
vote
1
answer
633
views
Get field API Name of dependent field if picklist has dependency
Is there a way to retrieve via Schema.DescribeFieldResult field that sets dependency on picklist fields that have isDependentPicklist() true?
For example:
If my field Field1__c (picklist) has a ...
2
votes
1
answer
9k
views
Is there any way to make a text field dependent on a picklist field?
I have one picklist field where 'Other' can be selected. I want to create a text field that is dependent on this picklist where the user can then type in this other reason.
I know the mechanics of ...
1
vote
1
answer
1k
views
Lookup field as Controlling field
I am creating a dependent picklist for one of my project requirement, where Controlling field is Lookup field and dependent field is picklist field. But while select Controlling field, I am not able ...
2
votes
0
answers
40
views
Can metadata container contain AuraDefinitionBundle, Layout, FlexiPage, Object? [duplicate]
I want to build a package to find out metadata dependencies and determine which classes, triggers, pages, components, lightning components and applications, flexi pages, layouts, objects, custom ...
1
vote
1
answer
2k
views
How can I delete field dependencies (controlling values) through destructive changes?
Is there a way to delete just the from my organization for specific fields through destructive changes?
I know this can be acomplished through git, but afaik it will not actually remove the ...
1
vote
1
answer
4k
views
extracting Field dependency metadata using SOQL etc
We are migrating from salesforce to another system. We need to build field dependencies for dependent picklist fields in salesforce in the new system as well. Can we extract field dependencies from ...
1
vote
1
answer
65
views
What is "Field Based Page Assignment Criteria" in relation to a custom field?
I am attempting to delete a custom field from the Contact object and when I do, I get a message saying it cannot be deleted because it is referenced elsewhere on salesforce.com. The section listed is "...
2
votes
2
answers
2k
views
Can I "Exclude Values" of a dependent picklist if I deploy via a Change set?
I am trying to deploy two picklist fields via Change Set Management, so that I can get the new changes(Include Values/Exclude Values) in the Field Dependency. After the deployment what I found was: ...
1
vote
2
answers
3k
views
Is there any way to check field dependency in salesforce [duplicate]
let say i have a field abc__c in account object and i want to check where this field has been used then i can do following things
1) retrieve all org metadata through ant or workbench or eclipse and ...
0
votes
1
answer
1k
views
Updating Controlling Picklist with Process Builder
I've encountered a strange problem. I have 2 pick list fields, controller picklist and the dependent picklist. I'm trying to use process builder to update the controller picklist using a process ...
0
votes
1
answer
55
views
Dependent drop-downs not working correctly with apex:actionSupport
I have 3 custom fields (select fields) Question1 , 2 and 3 . There is a dependency between Question1 and 2 ; and between 2 and 3 (using Field dependencies).
I have the following VF page :
<apex:...
1
vote
1
answer
469
views
Global dependent field
I have in object two field Type__c and Phase__c, both are picklists, there is a field dependency in these fields. Type__c is the controlling one and Phase__c is the dependent. I want the same exact ...
2
votes
2
answers
2k
views
SFDX source pull field dependencies
I have two dependent picklists on an object created in a scratch org which are successfully retrieved with a force:source:pull.
The field dependency between them, however, is not included in the pull....
0
votes
1
answer
563
views
Toggle display of dependent field in Lightning
In Lightning, with as little custom coding as possible, what is the best way to show a dependent field when a particular picklist choice is selected? Please note, this question is not directly about ...
-1
votes
1
answer
513
views
How to create a field dependency in apex based on master picklist
I have a requirement to handle mapping of field dependencies of picklist. I have multiple picklists are there in case object, for example:
Scenario 1
Case Category: Problem
Case Type:account ...
0
votes
0
answers
53
views
Creating field dependency is preventing me from editing/clicking into Opportunity fields
My question regards field dependencies. I am trying to limit my picklist based on the stage of an opportunity. I have that part down, but after I create it and go into an opportunity, I am unable to ...
0
votes
0
answers
2k
views
How to find that where and how a OBJECT is used in the application?
I have a custom object whose records are created via some other process. It cannot be created directly since it does not have a TAB created. There is no trigger on the object and I cannot find any of ...
2
votes
1
answer
1k
views
Picklist Dependent fields -- the dependent field I want is not available
I have, on a contract object, two fields. One is a service frequency, and one is billing. They are very similar, except I want to make a dependency so that if the service frequency is quarterly, let's ...
1
vote
1
answer
1k
views
How do I export all Controlling Field Industries & the dependent Sub-Industries?
Is it possible for me to extract a list of each industry and then be able to see each sub-industry (dependent field) ?
I know I can get printable views of both fields but I want to be able to show in ...
1
vote
2
answers
2k
views
How to get picklist values based on record type in javascript VF page
I am using Javascript to get picklist values(dependent or normal picklist).Its working fine.
But the problem is i am getting all the Picklist values for that object. I have to get picklist values ...
1
vote
1
answer
70
views
I wanna show a collection of fields dependent on the selected value of a pick list,while creating a new instance of an object
Is it possible to have some fields render on the basis of values of a pick list?
Right now i am using a vf page to achieve the same,but it is not working as expected.
My code is as follows:
<apex:...
1
vote
1
answer
507
views
Field Dependencies & Formulas
I have got two picklists with Field Dependencies:
"CODE" & "TEXT"
e.g. (Code = A99) --> (Text = "Diodes")
I like to have an automatism field filling, when a value in CODE is picked the field TEXT ...
1
vote
1
answer
248
views
i have create managed packaged and got Organization-level Feature Dependencies on chatter
i have create managed packaged but my controller got Organization-level Feature Dependencies on chatter. in my controller, i'm querying the user , userRole and profile object.
i noticed that i'm ...
0
votes
1
answer
1k
views
Using multiple currency picklist in record type or field dependencies
I have multiple currency feature turned on. And I've added about 5 currencies. Now I'm thinking to limit the currency picklist values in record type of Account object for example. But the picklist ...
2
votes
1
answer
3k
views
how to get Field dependency in visualforce page
This is My visualforce page and Controller to get Field Dependency, Here I am Getting All the Values but Dependency is Not Working
Visualforce page:
<apex:pageBlockSectionItem >
<apex:...
1
vote
2
answers
287
views
Add some custom Id into inputField - dependent picklist
I have in controller inner class with sobject and custom id. In visualforce page I have apex repeat over this inner classes. In repeat block are two fields (picklists) which are dependent. Everything ...