function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

Passing the existing two independent picklist to dependent ones

Hello,

I have two picklist alrady exsisting since 1 year.
they are not dependent on each other.

I want to make them dependent.

I wanted to know, what will happen to the dependent picklist values.

I want to conserve the old values too.
I assume that controlling picklist wil not be affected much but what about dependent picklist

thaks for suggestion
Best Answer chosen by Ab
Hemant_SoniHemant_Soni
Hi Sandrine,
In case of 3 
If in Controlling PL there is no value then Dependent PL also not having any values.
so result of case 3 is.
Case 3-> IDxxx003,null,null
I think this may help you.
Thanks
Hemant
 

All Answers

Hemant_SoniHemant_Soni
Hi Sandrine,
When you make these Picklist dependent then values are going to dependent on each other like if you select value foo in controlling picklist then in dependent picklist foo related values are comes.
If it help's you please make it best answer and if not and you know more about any thing in lightning and visualforce you can contact me on my email id "soni.sonihemant.hemant@gmail.com".
Thanks
Hemant
 
Hemant_SoniHemant_Soni
Hi Sandrine,
When you make these Picklist dependent then values are going to dependent on each other like if you select value foo in controlling picklist then in dependent picklist foo related values are comes.
If it help's you please make it best answer and if not and you know more about any thing in lightning and visualforce you can contact me on my email id "soni.sonihemant.hemant@gmail.com".
Thanks
Hemant
 
AbAb
Hi Hemant,

thanks for reply.
In your explanation, i understand that picklist value takes same value as it was before.
I can undestand this in case of controlling picklist, i still have doubt about dependendt picklist.

For exmple: i have two picklist ControllingPicklist__c and DependentPicklist__C

ControllingPicklist__c has values
A
B
C
D
E

DependentPicklist__c has values
1
2
3
4
5

All the values of DependentPicklist__c are avaiable to ControllingPicklist__c

I have below records
Id, Controling PL, Dependent PL
Case 1 -> IDxxx001, A, 1
Case 2 -> IDxxx002, A, null
Case 3 -> IDxxx003, null, 2

I understand Case 1 & 2,

However, in case of 3, what will be values .

PS-> I am changing the exsisting 2 independent picklist to depedent ones


 
Hemant_SoniHemant_Soni
Hi Sandrine,
In case of 3 
If in Controlling PL there is no value then Dependent PL also not having any values.
so result of case 3 is.
Case 3-> IDxxx003,null,null
I think this may help you.
Thanks
Hemant
 
This was selected as the best answer