Skip to main content
欢迎参加 3 月 5 日至 6 日在旧金山举行的 TDX AI 代理时代开发者大会,或通过 Salesforce+ 参与。立即注册

Create Fields and Connect Them with Advanced Mapping

Understand the Staging Object

In this step, you create a field and use Advanced Mapping to make it available for Gift Entry. But, first, take a moment to review the NPSP Data Import object.

NPSP Data Import records hold information before it is imported to permanent homes in target object records such as contacts, accounts, and opportunities. Your data is safely stored in Salesforce, and your target records are safe from being changed until you’re sure the data is correct.

The NPSP Data Import object is already configured to include most of the common fields on contact, account, opportunity, and other object records.

To make this process work with a new field, though, you need to:

  1. Create the field on the target object.
  2. Create the field on the NPSP Data Import staging object.
  3. Use Advanced Mapping to connect the fields.

In this project, you add a Source Code field to track information about a direct mail piece. You may use source codes on your appeals already.

Create a Field on the Target Object

Start by creating the Source Code field on the Opportunity object where this information will ultimately be stored.

  1. In Salesforce Setup, click Object Manager.
  2. Find and select Opportunity. It’s fastest to enter opportunity in the Quick Find field to filter the list.

  3. Select Fields & Relationships.
  4. Click New.
  5. Select Text as the data type, then click Next.
  6. Specify these details about the field
    • Field Label: Source Code
    • Length: 13
    • Field Name: Source_Code(This populates automatically.)
  1. Click Next.
  2. Click Next.
  3. On the Add to page layouts step, deselect all layouts and then select only Donation Layout.

  4. Save your work.

Create Staging Fields on the NPSP Data Import Object

Now create the companion field on the NPSP Data Import Object. Remember, the data entered in Gift Entry is stored here before it is sent to opportunity records. It must match the target field in field type and length.

  1. In Setup, click Object Manager.
  2. Find and select NPSP Data Import. Filter the list using the Quick Find field.

  3. Select Fields & Relationships.
  4. Click New.
  5. Select Text as the data type, then click Next.
  6. Specify these details about the field
    • Field Label: Opportunity Source Code
    • Length: 13
    • Field Name: Opportunity_Source_Code(This populates automatically.)
  1. Click Next.
  2. Click Next.
  3. Save your work.

Connect Staging and Target Fields

At this point, your fields exist on your target object (Opportunity) and your staging object (NPSP Data Import). Now you can connect them using Advanced Mapping.

  1. From the App Launcher (), find and select NPSP Settings.
  2. Select System Tools in the menu, then select Advanced Mapping for Data Import & Gift Entry.
  3. Click Configure Advanced Mapping. It may take a minute to load.

  4. Click Show actions in the Opportunity row of the table.
  5. Select View Field Mappings.

  6. Click Create New Field Mapping.

  7. Select Opportunity Source Code (Opportunity_Source_Code__c) in the Field Label field for the Source (NPSP Data Import Object).
  8. Select Source Code (Source_Code__c) in the Field Label field for the Target (Opportunity Object).

  9. Save your work.

When you receive the success message on screen, you know your fields are mapped. Now it’s time to bring these new fields to Gift Entry—but first, click Verify to check your work before you move on.

Resources

验证步骤

+100 分

您将在您自己的实践组织中完成此项目。单击启动以开始,或单击您的组织的名称以选择不同的组织。

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈