You need to sign in to do that
Don't have an account?
hard coding LOV [List of Values] into FF/VR/WF -- really salesforce.com design Best Practice???
I am new to "force.com" coding and declarative toolset.
FF = Formula Field
VR = Validation Rules
WF = Workflow
so can someone please ase my mind as I feel I am going against the programming best practice of "you make sure your code has no hard-coded values". So though Formula fields are PR'd as declarative. they are strictly still 1 line of code. (I love the tool, just not feeling comfortable with bp advocated)
about 10 years ago, when i was coding Object Orientated in another CRM.. (yes that was possible back in those days...), the work around was:
1 create a custom object to store the List of Values LOVs
2 reference that object/field in any of the business logic syntax e.g.. Formula, workflow rules, validation rules etc..
but in SF ADM201 and DEV401 material, it demonstrates to hard code the value in the formula editor.
so is this really the best practice?
---
is the a reason why we don't create a custom object to store the LOVs
e.g.. means extra overhead somewhere???
thankyou for your time
cheers