Open the Pardot URL in the Pardot Lighting App [Interactive Tutorial]
- January 19, 2022
- Salesforce and Pardot, Salesforce Ben | The Drip
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:
- Go to Salesforce Setup. Click Object Manager. Click Quick Find, Type Lead (then click Lead from the list).
- Click Fields & Relationships, Click New.
- Choose the field type. Click Formula.
- 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”
- Formula Return Type, click Text.
- 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!
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
- Account Based Marketing (ABM) (7)
- Business Units (14)
- ChatGPT / AI (3)
- Completion Actions (5)
- Connectors (10)
- Custom Redirects (4)
- Data Cloud (2)
- Demand Generation (8)
- Dynamic Content (6)
- Einstein Features (12)
- Email Delivery (17)
- Email Open Rates (3)
- Pardot A/B Testing (2)
- Email Mailability (16)
- Do Not Email (1)
- Double Opt-in (2)
- Opt Out / Unsubscribe (14)
- Email Preferences Page (6)
- Engagement Studio (16)
- Industries (1)
- Non Profit (1)
- Landing Pages (9)
- Lead Generation (1)
- Lead Management (13)
- Lead Routing (3)
- Lead Scoring (16)
- Leads (3)
- Marketing Analytics – B2BMA (9)
- Marketing Automation (1)
- Marketing Cloud (3)
- Marketing Cloud Account Engagement (4)
- Marketing Cloud Growth (2)
- New Pardot Features (6)
- Opportunities (2)
- Optimization (2)
- Pardot Admin (64)
- Duplicates (1)
- Marketing Ops (1)
- Pardot Alerts (1)
- Pardot API (2)
- Pardot Automations (3)
- Pardot Careers (12)
- Pardot Certifications (4)
- Pardot Consulting (1)
- Pardot Cookies (3)
- Pardot Custom Objects (3)
- Pardot Email Builder (8)
- Pardot Email Templates (9)
- HML (6)
- Pardot Events (16)
- Pardot External Actions (1)
- Pardot External Activities (4)
- Pardot Forms (29)
- Form Handlers (8)
- Pardot Integrations (20)
- Data Cloud (1)
- Slack (1)
- Pardot Lead Grading (5)
- Pardot Lead Source (2)
- Pardot Lightning (1)
- Pardot Migration (1)
- Pardot Nurture / Drip Campaigns (1)
- Pardot Personalization (3)
- Pardot Profiles (1)
- Pardot Releases (18)
- Pardot Sandboxes (2)
- Pardot Segmentation (5)
- Pardot Strategy (7)
- Pardot Sync (2)
- Pardot Sync Errors (1)
- Pardot Tracker Domains (5)
- Pardot Training (3)
- Pardot Vs Other MAPs (4)
- Pardot Website Tracking (2)
- Reporting (22)
- Salesforce and Pardot (31)
- Marketing Data Sharing (2)
- Pardot Users (3)
- Salesforce Automation (5)
- Salesforce Flows (2)
- Salesforce Campaigns (20)
- Salesforce CRM (3)
- Record Types (1)
- Salesforce Engage (3)
- Salesforce Queues (2)
- Security and Privacy (1)
- Tags (3)
- The Authors (504)
- Cheshire Impact (9)
- Greenkey Digital (51)
- Invado Solutions (37)
- Jenna Molby (9)
- Marcloud Consulting (6)
- Nebula Consulting (60)
- Pardot Geeks (44)
- Salesforce Ben | The Drip (235)
- SalesLabX (3)
- Slalom (4)
- Unfettered Marketing (46)
- Uncategorized (1)
- Website Tracking (2)
- Website Search (1)
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/