Open the Pardot URL in the Pardot Lighting App [Interactive Tutorial]

Have you ever wanted to open a Prospect record by clicking on the Pardot URL field on Salesforce Lead or Contact? You will find this link directs you to Pardot Classic (Field name: pi__url__c). How do you open the Prospect record in the Pardot Lighting App, instead?

I will show you how to easily create a new Salesforce field to generate the Pardot URL for the Pardot Lighting App.

Create a Pardot Lightning URL Custom Field [Interactive Tutorial]

The Pardot Lightning URL, a new custom field you are about to create, will force Salesforce to open the Pardot Prospect record in the Pardot Lightning App. You can then add this new custom field to Salesforce Lead and Contact page layouts.

Create a new Custom Field (Formula) on the Salesforce Lead object:

  1. Go to Salesforce Setup. Click Object Manager. Click Quick Find, Type Lead (then click Lead from the list).
  2. Click Fields & Relationships, Click New.
  3. Choose the field type. Click Formula.
  4. Type in the Field Label: Pardot Lightning URL. The Field Name will populate automatically. Add a Description such as, “Open the Pardot URL in the Pardot Lighting App”
  5. Formula Return Type, click Text.
  6. Paste this formula into the box:

IF(
NOT(ISBLANK(pi__url__c)),
HYPERLINK( LEFT($Api.Partner_Server_URL_260, FIND( ‘/services’, $Api.Partner_Server_URL_260)) &’lightning/page/pardot/prospect?pardot__path=%2Fprospect%2Fread%2Fid%2F’& Right(pi__url__c ,value(text(LEN(pi__url__c) – FIND(‘=’, pi__url__c))))
,LEFT($Api.Partner_Server_URL_260, FIND( ‘/services’, $Api.Partner_Server_URL_260)) &’lightning/page/pardot/prospect?pardot__path=%2Fprospect%2Fread%2Fid%2F’& Right(pi__url__c ,value(text(LEN(pi__url__c) – FIND(‘=’, pi__url__c)))), “_self”)
,””)

7. Scroll down and click Check Syntax, click Next.

8. This is where you will set Field-level Security (which users can see the field). Once you’re satisfied, click Next.

9. This is where you will set which page layouts the field should appear on. Once you’re satisfied, click Save.

Repeat the steps above for the Contact object.

Optionally, you can also remove Pardot URL Field from page layouts to avoid confusing users.

Now, when you click on the “Pardot Lightning URL” link, the Prospect record is opened inside the Salesforce Pardot Lightning App, instead of Pardot Classic!

A big Thanks to Denise A for the original idea and formula.

If you have any questions or comments to improve the formula, feel free to send me a DM on LinkedIn at Alexandre Ruiz!

”Salesforce”

 


 

This Pardot article written by: 

Salesforce Ben | The Drip

Lucy Mazalon is the Head Editor & Operations Director at Salesforceben.com, Founder of THE DRIP and Salesforce Marketing Champion 2020.

Original Pardot Article: https://www.salesforceben.com/the-drip/open-the-pardot-url-in-the-pardot-lighting-app/

Find more great Pardot articles at www.salesforceben.com/the-drip/

Pardot Experts Blog

We have categorized all the different Pardot articles by topics.

Pardot Topic Categories

More Pardot Articles

See all posts

 


 

This Pardot article written by: 

Salesforce Ben | The Drip

Lucy Mazalon is the Head Editor & Operations Director at Salesforceben.com, Founder of THE DRIP and Salesforce Marketing Champion 2020.

Original Pardot Article: https://www.salesforceben.com/the-drip/open-the-pardot-url-in-the-pardot-lighting-app/

Find more great Pardot articles at www.salesforceben.com/the-drip/