Skip to main content

Hey Guys,

 

I am trying to launch a new lead URL through Tableau actions that opens a new lead input page with prepopulated fields based on the what the user clicked on in tableau. I have all the object and record type data available to integrate into the URL action, but can't get it to prefill. I can get the new lead input page to open, but cant prefill the fields.

 

I've read the URL hack articles, but I'm not sure how to apply that to this use case since I can't program a button.

 

Here's as far as I have gotten with the URL:

 

 https://COMPANYXYZ.lightning.force.com/lightning/o/Lead/new?count=3&nooverride=1&useRecordTypeCheck=1&navigationLocation=LIST_VIEW&uid=164269516703674296&backgroundContext=%2Flightning%2Fo%2FLead%2Flist%3FfilterName%3DRecent&recordTypeId=012f4000000GR0AAAW

 

This opens the the lead page.....I was hoping there was code after this like:

 

&FirstName="Tom Smith"&AccountName="XYC"

 

and so on that would prefill the fields.

 

Has anyone done anything like this? Even through other third party program interacting with SFDC.

 

Any help would be greatly appreciated.

 

Thanks guys!

 

Joe

2 Antworten
  1. 31. Jan. 2022, 14:23

    Yeah I wasn't sure what side to place it on. After some trial and error though I found this to work in case anyone else has a need for it.

     

     https://companyxyz.lightning.force.com/lightning/o/Lead/new?count=2&nooverride=1&useRecordTypeCheck=1&navigationLocation=LIST_VIEW&uid=164323244195013513&backgroundContext=%2Flightning%2Fo%2FLead%2Flist%3FfilterName%3DRecent&recordTypeId=012f4000000GR0AAAW&defaultFieldValues=

    Company=Company ABC,

    FirstName=FIELD,

    LastName=FIELD,

    Email=FIELD,

    Street=FIELD,

    City=FIELD,

    Description=FIELD