Check “No Opp” by Default on Lead Convert

FacebookTwitterGoogleLinkedInEmail this page


Here is a simple recipe that I shared recently on the webinar that I thought was worth posting here. It allows you to have the “Do not create a new opportunity upon conversion” checkbox that appears on the Lead Conversion screen to be checked by default when users click “Convert” on a Lead.

Ingredients:

1 Visualforce Page
1 Standard Button Override

Instructions:

Navigate to your setup -> “Develop” -> “Pages” and click to create a New Page. Copy and paste the code from below into the body, give it a name such as “convertWithNoOpp” or whatever you please. Save it. Then go to “Customize” -> “Leads” -> “Buttons and Links” and click “Override” next to the Convert button. Select the “Visualforce Page” selection and from the dropdown find the Page you created. Save it… and you’re good to go!

<apex:page standardController=”lead” action=”/lead/leadconvert.jsp?retURL=%2F{!lead.Id}&id={!lead.Id}&nooppti=1&nooverride=1″>

</apex:page>

 

1 Trackback / Pingback

  1. Spring ’18 Release Highlights – Tom Blamire

Leave a Reply


Your email address will not be published.


*