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
sf consultant.ax380sf consultant.ax380 

Make a picklist on a standard detail page "dependent" on a cross object formula...


Hello all,

Currently we have 2 custom fields on the case edit page layout.   Picklist field2 is dependent on controlling field picklist field1.  We want to change this so picklist field2 is dependent on a custom field on the Account so that the picklist is field2 is already filtered appropriately when the page loads.. ie.. Case.Contact.Account.customfield?  Is this possible?

Thanks!
anup_aanup_a
M quite sure this cannot be done using the standard Field level dependencies in Salesforce.com. You may want to look at using a custom trigger, that would check for the Account field and will update the Picklist 2 on the related case record ({beforeinsert()}) You can neither use dependencies nor workflow actions (field updates) in this case.