The above URL helps me to create a new Lead with the first name already populated as “dsdf”.
What i would like to know how this parameter “name_firstlea2” is mapped to “FirstName” of Lead.
I don’t this mapping defined in SetUp.
Can someone tell me where am I supposed to see the mappings definition ?
As @AdrianLarson says, not documented as subject to change. But, if you want to know what they are:
- Open up a New Lead page
- Open up Chrome Developer Tools or Firefox Firebug
- Go to the HTML inspector (magnifying glass icon in Chrome tools)
- Click on each input box to see the id used by SFDC OOB for the fields
As you can see, the field name for the URL for Company is
lea3. It wouldn’t take too much imagination to see SFDC changing this in Vx.0 to something like
company and breaking your URL hack.
That said, URL hacking is irresistible as it gets results quickly. Be sure to document in your custom button description some maintenance notes for the person(s) following you.