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.

1 Answer 1

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .