You need to sign in to do that
Don't have an account?
Chris Goderie
More efficient use of Custom Fields and how to set defaults on them
Hello. I am pretty new to the Salesforce custom development but I have 2 (simple?) questions. In our company we are using 2 categories in multiple objects: "Brand" (single pick-list) and "Focus" (multi-select pick-list) and these 2 fields are being linked (Brand is controlling field for Ficus) meaning that based on selected Brand only valid Focus-values for that Brand can be selected. We have these Custom fields in many Salesforce-objects like: Account, Lead, Oppertunity etc.
- Q1: is there a way in Salesforce to only set-up these Custom fields once and use them in multiple objects so maintaining them is much more easy?
- Q2: we also have the Brand and Focus custom fields added to the User object. Currently we are building a new custom object for Sales Calls and also here the Brand and Focus is used. Is there a way to default the Brand and Focus values in this object based on the values from the user's User object?
Q2 - unfortunately not for picklists. For other field types (text for example), you can specify a default value using a formula containing fields from the context user. However, picklists only allow you to specify a value from the list as the default for every user.