What is the best way to prepopulate the lead phone field or any field on the standard lead creation page?
I currently have a link on a visualforce page to open the lead creation page, but URL hacking does not seem like a stable solution as the ID of the field will change as I cascade this through orgs correct?
I looked into quick actions as well, but that seems irrelevant.
Another solution that has come to mind is to use an onClick() on my link to invoke the console tab method to open a primary tab of the lead page, add event listener for when the page has loaded, then use some JS parsing/filtering to select the ID, but that sounds too convoluted for what I am trying to accomplish and I am wondering if there is a better way?
I would ideally like to create the lead through the standard lead creation UI populating a few of the fields with dynamic values on Salesforce Classic in the Salesforce Console.