Background
Full Circle customers that use the Funnel Metrics application achieve higher quality data in their Salesforce org, resulting in better insights which are crucial to making better decisions. A critical part of this is consistently relating data between Leads/Contacts, Campaigns, Campaign Member responses, and Opportunities. This is done by putting some restrictions in place around how opportunities are created in Salesforce using Funnel Metrics. This article will discuss the benefits of using this process, when to use it, and how to configure your org to use it.
Benefits
When you restrict how opportunities are created in your org with Funnel Metrics, there are a number of features that you can potentially benefit from. Note that each of the features below require some additional configuration, which is discussed later in this article.
Active Mode Restrictions
If your org is configured to be running Funnel Metrics in active or hybrid mode, users can only create an opportunity for a lead/contact that has an active Campaign Member response associated to it. By doing so, a consistent linkage is maintained between the most important campaign touch, the lead/contact, and the opportunity, allowing marketers to tie marketing spend to various types of revenue.
Opportunity Gating
When this setting is enabled, active mode users must create opportunities from a contact or through lead conversion. By doing so, you are able to map fields from the contact to the opportunity, and Funnel Metrics will automatically copy the values to the opportunity when it is created (see Opportunity Creation Query String).
Opportunity Naming Convention
When this setting is enabled and an opportunity is created from a contact record, the opportunity name field will be pre-populated with the account name followed by a dash.
Opportunity Creation Query String
This setting allows you to map fields from the contact to the opportunity. When the opportunity is created, the application will copy the values from the contact to the opportunity.
When to Use
Restricting opportunity creation should be used in orgs that are running in active or hybrid mode. Passive mode orgs do not need to restrict opportunity creation.
How to Configure
NOTE: Be sure to check with your Full Circle account manager to ensure all the various settings in Funnel Metrics are configured properly to meet your business requirements. This article is limited in scope and only covers how to configure the application for creating new opportunities via the Salesforce UI as well as some related features that are referenced above.
New Opportunity Button Override
When to use: All orgs running in active or hybrid mode must override the "New" opportunity button in order to restrict opportunity creation. These instructions cover both Lightning and Classic.
Prerequisite: Lightning components require My Domain, and Domain Deployed to Users. For more information go to Salesforce Setup | Domain Management | My Domain.
Lightning Experience
- From Setup, enter the object in the Quick Find box.
- Select Object Manager.
- Click the name of the object for which you want to override a standard action.
- Select Buttons, Links, and Actions.
Salesforce Classic
- From Setup, navigate to the object for which you want to override a standard action.
- For standard objects, navigate to Build | Customize, and find the object.
- For custom objects, navigate to Build | Create | Objects, and find the object.
- Click the name of the object.
- Scroll to the Buttons, Links, and Actions section.
Once you’re viewing the object’s Buttons, Links, and Actions list, select Edit for the action you want to override. From here, the steps are the same.
- For Salesforce Classic Override, select Visualforce page FCR_NewOpportunityButton.
- For Lightning Experience Override AND Mobile Override, select Lightning Component FCRM:FCROppNew.
- Click Save.
Note: Users won’t see changes to action overrides until they reload Lightning Experience or Salesforce Mobile. On Windows use CTRL+F5. On Mac use Command+R.
New Opportunity Quick Action
When to use: The New Opportunity Quick Action is an optional configuration that provides users with a convenient button in the top/right area of a contact lightning record page. This is only available in Lightning. This functionality does not exist on Salesforce "New Opportunity" quick action buttons.
Prerequisite: Lightning components require My Domain, and Domain Deployed to Users. For more information go to Salesforce Setup | Domain Management | My Domain.
Add Button to Layouts
- Go to Lightning Experience
- Setup | Object Manager | Contact
- Page Layouts
- Click the layout you want to add the Action to
- Click "Mobile & Lightning Actions"
- Add "New Opportunity" (FCR_OppCreateAction) to the "Salesforce Mobile and Lightning Experience Actions" section
- Save the layout
Configuring page layout:
Quick action on contact lightning record page:
Opportunity Creation Query String
When to use: If you are creating opportunities from the contact and want field values copied from contact to opportunity. Compatible with Classic and Lightning.
Prerequisite: You must override the "New" Opportunity Button, as described above, in order for this feature to work.
Configure "Opportunity Creation Query String"
- Go to Setup | Installed Packages | Full Circle Funnel Metrics | Configure | General or open the "Full Circle Configuration" object from the App Launcher
- In "Opportunity Creation Query String" setting, enter pairs of values to specify contact/opportunity field mapping. See below for examples.
- Click "Save and Return to Main"
Field Pairs
A pair of fields consists of an opportunity field on the left side of the "=" and a contact field on the right. Multiple field pairs are separated by the "&" symbol.
For example:
oppField=contactField&oppField2=contactField2
Salesforce Classic
In Classic, there are two different argument styles to use for opportunity standard fields and custom fields.
1. For opportunity standard fields you use the opportunity field code and contact API name. Some examples of opportunity field codes of primary fields include:
- opp3=OpportunityName
- opp6=LeadSource
- opp7=Amount
- opp14=Description
(NOTE: viewing 'page source' on an opportunity is the easiest way to find other opportunity field codes)
2. For opportunity custom fields you use the opportunity field ID and contact API name. For example:
- 00N4P00000Gbt1x=LeadSource
- 00N4P00000Gbt1x=contactField2
For multiple fields, use an ampersand between them. For example:
- opp14=Description&00N4P00000Gbr2s=LeadSource&00N4P00000Gbt1x=contactField2
NOTE: To pair a custom lookup field to a record in Classic, prepend 'CF' to the opportunity field ID and use the name field (not the ID) of the record. For example:
- 00N4P00000Gbr2s=LeadSource&CF00N4P00000Gbt1x=contactNameField
Lightning Experience
In Lightning Experience, use the opportunity API and contact API. For example:
- LeadSource=LeadSource
- My_Custom_Opp_Field__c=LeadSource
- My_Custom_Opp_Field__c=My_Custom_Contact_Field__c
For multiple fields, use an ampersand between them. For example:
- LeadSource=LeadSource&My_Custom_Opp_Field__c=My_Custom_Contact_Field__c
Configuring for Both Classic and Lightning
If you need to configure for both Classic and Lightning, use an ampersand between each, Classic first. In the following example, the first field pair is for Classic and the second and third are for Lightning:
opp6=LeadSource&LeadSource=LeadSource&My_Custom_Opp_Field__c=My_Custom_Contact_Field__c
Extending Opportunity Query String (Lightning Only) - not checked for validity
If you need to populate opportunity fields with custom values when a user clicks the "New" opportunity override button, that is possible but does require some coding. See this page.
If you'd like to pre-determine record types (thereby preventing end users from needing to select a record type at the start of opportunity creation), see this article.
Size Limit
The size limit for this field is 255.
Comments
0 comments
Please sign in to leave a comment.