You need to sign in to do that
Don't have an account?
Pavan 3636
Picklist Fields
Hi Guys,
I have a scenario where there are 2 different custom objects in which there are 2 picklist fields with the same values.
Q. When the values in object 1 are deactivated, then is it possible to deactivate or hide that particular value in the object 2 field.
please help me in which way it is possible..!!
Thanks in advance.
I have a scenario where there are 2 different custom objects in which there are 2 picklist fields with the same values.
Q. When the values in object 1 are deactivated, then is it possible to deactivate or hide that particular value in the object 2 field.
please help me in which way it is possible..!!
Thanks in advance.
Try this : https://developer.salesforce.com/blogs/developer-relations/2016/12/global-picklists-define-globally-use-locally.html
Global picklist should solve your issue. Its about defining the picklist values in one place and re-using it elsewhere.
Please let me know if it solves your issue.
Thanks!
I have gone through your problem.
Yes, it is possible. you can deactivate one object then another object is automatically deactivated. You can use a trigger.
You can write a trigger in the first object and deactivate first object fields then trigger automatically fire and second object
fields are deactivated.
You can also refer below link:-
https://developer.salesforce.com/blogs/developer-relations/2016/12/global-picklists-define-globally-use-locally.html
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com