Loading
Nonprofit Success Pack (NPSP) Managed Package
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Customize Opportunity (Donation) Names

          Customize Opportunity (Donation) Names

          Create your own custom Opportunity Names using any fields from the Opportunity itself or fields from related records.

          Note
          Note Watch the Nonprofit Salesforce How-To Series video about Custom Opportunity Naming.

          Create a Custom Opportunity Name

          To use a custom Opportunity name or a a different naming format from default naming convention, create a custom name.

          When you create a new Opportunity from a Quick Action on a Contact or Account record, NPSP names the Opportunity for you. The default naming convention is [Account or Contact Name] [record type name] [date]. For example, "Barnaby Jones Donation 12/12/21."

          Set a different naming format by choosing from several options provided by NPSP, or create your own format from scratch. NPSP also provides the ability to specify different formats by Opportunity record type.

          To choose from a list of pre-configured name formats, or create your own format:

          1. Click the NPSP Settings tab. If you don't see the tab, find it in the App Launcher (App Launcher icon).

          2. On the Opportunity Names page, click New Opportunity Name.
          3. On the Opportunity Name Settings page, specify the settings for your custom Opportunity Name:
            Attribution
            Specifies whether you want to apply the custom naming convention to Contact donations (that is, Opportunities associated with Household, 1-to-1, or Individual "Bucket" accounts), Organization donations, or both Contact and Organization donations. NPSP treats any donation that is not a Contact donation as an Organization donation.
            Opportunity Record Types
            Specifies the Opportunity record types to which you want to apply this Opportunity Name. Control or Command click to select more than one record type. "None" applies the new naming to all record types.
            Opportunity Name Format
            Specifies the Opportunity Name format. Select from a number of out-of-the-box naming conventions, or choose "other" to create your own. (See Customize Opportunity (Donation) Names for more information.)
            Date Format
            The format for any Date or DateTime fields you've included in the Opportunity Name. Choose "other" to create your own format, following the Java SimpleDateFormat specification.
          4. Click Save.

          NPSP will use the new custom naming convention for all Opportunities of matching record types going forward. To apply the new naming convention to previously created Opportunities, see Customize Opportunity (Donation) Names and Customize Opportunity (Donation) Names.

          Opportunity Name Examples

          When creating your own Opportunity Names, simply add any Opportunity field to the list of field names.

          For example:

          {!Amount} {!CloseDate}

          You can also add static text to the custom name:

          Received {!Amount} on {!CloseDate}

          As well as fields from related records:

          Received {!Amount} on {!CloseDate} thanks to {!Campaign.Name}

          And if you really want to get fancy, you can even add fields from the Primary Contact associated with the donation:

          {!Contact.Name} from {!Contact.MailingCity} gave {!Amount} on {!CloseDate} thanks to {!Campaign.Name}

          Note that if a field does not contain a value, its place in the custom name will be left blank. For example, if the mailing city field for the Primary Contact were empty, the above would read: "Nicolas from gave $8 on April 29, 2015 thanks to Save the Whales."

          Edit a Custom Opportunity Name

          Change a custom Opportunity Name by editing it in NPSP Settings.

          1. Click the NPSP Settings tab. If you don't see the tab, find it in the App Launcher (App Launcher icon).

          2. On the Opportunity Names page, find the Opportunity Name you want to edit, click the Edit link, make your changes, and click Save.

          Refresh a Single Opportunity Name

          Refresh the name of an Opportunity to share the custom formatting of a matching custom Opportunity name.

          When you create a custom Opportunity Name, Salesforce only uses that naming convention for matching Opportunities you create after that. But you can refresh the name of a preexisting, matching Opportunity, once you've specified your settings.

          1. Navigate to the Opportunity whose name you want to refresh.
          2. Click Show more actions icon, then click Refresh Name.
            Refresh Name menu item
            Note
            Note If you don't see this button, you'll need to add it to your page layout.

          Refresh all Opportunity Names

          Share naming formatting with preexisting, matching Opportunities by refreshing them.

          When you create a custom Opportunity Name, Salesforce only uses that naming convention for matching Opportunities you create after that. But you can refresh the names of all preexisting, matching Opportunities, once you've specified your settings.

          Important
          Important Refreshing all Opportunity Names activates a batch process, and renames every matching Opportunity in your organization except those Opportunities whose Opportunity Name Formats you've marked as "Do Not Rename." The process is irreversible. Exercise caution when refreshing all Opportunity Names!
          1. In the Nonprofit Success Pack, click the NPSP Settings tab, and then click Bulk Data Processes | Refresh Opportunity Names.
            Note
            Note If you don't see the NPSP Settings tab in your org, you can find it in the App Launcher.
          2. Click Refresh All Opportunity Names.

          You can also set up this batch job to automatically run (you determine how often and when) by scheduling the OPP_OpportunityNaming_BATCH Apex Class. For more information, see Edit or Reschedule NPSP Scheduled Jobs.

           
          Loading
          Salesforce Help | Article