You need to sign in to do that
Don't have an account?
softforce
Managed packaging: Handling required fields in standard objects
Our package creates Contact records driven by an integration component. When we deploy it in an Org with admin-created Contact fields that are 'required', what values shall we put on these fields? Of course, using describeSObjects() method, we can identify Required fields. And, we can insert random numbers or strings or dates onto those fields. This approach sounds ugly. Another option is to elicit appropriate values from the Admin via a Config page on the managed package. What is the best practice? Any thoughts...
Hi,
You can adopt the following approaches as per your convinience:-
Hope this helps ? If not, let me know what didn't work, or if so, please mark it solved.