You need to sign in to do that
Don't have an account?
avlerik
Pre-populate ID/Name field with a picklist value when creating new record of custom object
What I'd really like to have is the ability to define a picklist rather than an Auto-Number or a text field as the Name/ID field of a custom object. Since this currently isn't possible, the next best way is to intercept the "New Record" event, offer a page that provides the desired picklist and then populate the Name/ID field in the object's Edit page with the selected value.
Here are my problems:
(1) does anybody have a code snippet for creating such a page and populating a picklist with a list of values?
(2) does anybody know of a way to pre-populate a read-only (!) field with a customized URL? Populating an editable field in Edit mode is fairly easy, but I just can't figure this out if the field is defined as read-only on the page layout.
Any help is appreciated.
Thanks,
Erik
Hope this helps!