1

I am familiar with URL hacking and I can prepopulate a custom field by identifying the custom field ID and building a URL accordingly. (The ID of a Custom Field is easy to identify).

I'm using a custom button to open the standard "Create New Lead" page. However, I can't work out how to specify a standard field like Phone in the URL.

Is this possible? I'd rather use the standard Create/Edit Lead page if possible.

3
  • Right click on the field in your browser
  • Inspect element
  • You will see something like <input type="text" id="lea8" value="">

lea8 is in this case the id of the field you would want to include in your url as parameter.

PS: url hacking is not supported by Salesforce. You might want to look into publisher actions to meet your business requirement.

| improve this answer | |
  • 1
    Excellent. That gets me out of the immediate hole. I'll look at Publisher Actions in the longer term. – Dizzley Apr 15 '16 at 10:34
  • Just to confirm that this answer worked very well for me. – Dizzley Apr 18 '16 at 8:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.