You need to sign in to do that
Don't have an account?
Raavipati
to prepopulate a field in the account object
Hi,
I have custom lookup field in a account object
lookup to the user
My question is i have to prepopulate the field with the user name that means owner of the account
please help me to sort out this
Thanks & Regards
Pratyusha.K
I have custom lookup field in a account object
lookup to the user
My question is i have to prepopulate the field with the user name that means owner of the account
please help me to sort out this
Thanks & Regards
Pratyusha.K
You can do that using a trigger, workflow rule or a Process (Process Builder).
You can just populate your field with Owner field in the Account object.
But these things happen after saving the record
but i want at the time of filling the fields in the account object
For more info refer below links:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_custom_settings.htm
http://blog.jeffdouglas.com/2010/02/08/using-hierarchy-custom-settings-in-salesforce-com/
Thanks!
Hi Pratyusha,
You need to create a vf page with standard controller as "Account" and extension and pre-populate it on vf page load.
Bind this page on standard new button of Account object.
Regards,
Surendra
HI Raavipati,
You can do this using a custom button or override the standard button with a VF and url hack the parameters
A similar post was made earlier by another member the solution to which I have provided
https://developer.salesforce.com/forums/ForumsMain?id=9060G000000IBJN
The same key-value parameters must be set in the redirection url of your visualforce page to auto-populate field values
Thanks
Vivian