You need to sign in to do that
Don't have an account?
Thakkar Parth
auto fill account name on contact
Hi,
Have a requirement where on clicking a button ( custom buttom ) it will take me to the Contact detail page with auto filled Account Name field.
Please help me . I'm confused and any sample code will work best for me . Thanks .Marc
Have a requirement where on clicking a button ( custom buttom ) it will take me to the Contact detail page with auto filled Account Name field.
Please help me . I'm confused and any sample code will work best for me . Thanks .Marc
http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html
All Answers
you can use URL Param "accid" and populate field, something like accid=001o0000006VvOE, it should autofill account for you
You can enabled salesforce feature for autocompleting lookups--
With lookup auto-completion, users can select items from a dynamic list of matching, recently used records when editing a lookup field. Lookup auto-completion is available on account, contact, user, and custom object lookups. To enable it:
>> Click Your Name | Setup | Customize | Search | Search Settings.
>> In the Search Settings area, select the object lookups for which you want to enable auto-completion.
Currently, only account, contact, user, and custom object lookups can use this feature.
>>Click Save.
For more info please go through - https://help.salesforce.com/apex/HTViewHelpDoc?id=search_enhanced_lookup_enable_autocomplete.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=search_enhanced_lookup_enable_autocomplete.htm&language=en)
Thanks,
N.J
Can anyone of you pls provide me sample code to redirect to the page and how I can auto populate Account field.
http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html