Salesforce: Pre populate form data in create screen
October 16, 2013 /
Posted in Salesforce Corner
In Salesforce, the standard Account creation will go through the following link:
https://eu1.salesforce.com/001/e
If you understand HTML, you can prepopulate some values into the existing form. This approach is extremely useful if you would like to create a custom button that links to a prepopulated form. This is how you can achieve it:
1) View HTML source behind the scene
For example: acc2 represents the Account Name and acc10represents Phone. You can prepopulate the field by using the following URL:
https://eu1.salesforce.com/001/e?acc2=WDCi&acc10=12345678
Note: You may have different URL such https://ap1.salesforce.com. This concept will work also for other objects.