Data Sources: Concepts

Use the Data Sources module to define the data to import into Aprimo through a database connection that you configure in the Databases module. You use the Data Sources module only when you want to import data from an external database into the application. If you want to use data from an external database in a segmentation, use the Databases module in Campaign Administration.

Example:

Your company has deployed an ERP system. You want to populate the application with information from this system. After using the Databases module in System Tools to configure the connection to the ERP system, you use the Data Sources module to specify this information:

  • The kind of records that you are importing
  • The SQL statement used to select the desired data
  • The field maps between the fields in the data source and the destination fields in the application

Design Considerations

A key feature of the Data Sources module is the ability to match incoming records to existing Aprimo records.

Note:
Before you create a data source, you should be familiar with the data it will import. You should also be familiar with the Aprimo fields into which it will import data.

For an overview of the data importing process, see Importing Data into the Application.

Caution:
If the incoming records are in a Microsoft Excel spreadsheet, keep in mind that Excel uses the first few rows of data in each column to determine the column's data type. The data import process could transform some data in the spreadsheet and produce unintended results. For example, a column of zip codes could be transformed into a numeric data type that truncates leading zeros so that, for instance, the zip code 07030 in the Excel spreadsheet becomes 7030 in the application table. You can force the data to be imported as text strings, with leading zeros, by manually formatting the columns in Excel as text.

Also, for records to be imported into the application correctly, the tab or column names in the Excel spreadsheet cannot have spaces.

Modules Into Which You Can Import Data

You can use data sources to import data into these modules:

Details

These fields appear for all data sources, unless stated otherwise.

Field Description

Database

Select the database that contains the data to import.

Target Group

Select the type of record to import from the data source. When the data source runs, it adds or updates records of this type in the application.

Import Type

Select how to match incoming records to existing records. See Import Type Options.

Literal Match Attribute

This field appears if the import type is Literal Matching.

Select the ID of the target group or an identifying extended attribute. If a record in the data source has the same value in this field as a record in the application, the records are merged. Otherwise, the record is added to the application database.

You must also include the literal match attribute on the Field Maps tab. The field you map to the literal match attribute is used in the comparison.

Note:
If you set the target group to Product History or Contact History, you do not have to select a literal match attribute.

Candidate Set Rules Mode

This field appears if the import type is Aggressive Matching.

Select whether you can customize the candidate set rules. The candidate set rules determine which application records are processed by the matching rules.

Matching Rules Mode

This field appears if the import type is Aggressive Matching.

Select whether you can edit the matching rules.

The matching rules are a set of field-by-field comparisons that determine whether an incoming record matches a record that exists in the application.

Matching Threshold

This field appears if the matching rules mode is Custom and the import type is Aggressive Matching.

Select the lowest score that represents a match. When comparing an incoming record to an existing record, the application uses the matching rules to tabulate a match score.

Number of Test Records

This field appears if the import type is Aggressive Matching.

Select the number of records to process when testing the data source.

If the application connects to the database using an OLE DB connection, the value in this field cannot exceed the DataMart OleDB Max Count system parameter.

If the application connects to the database using a native connection, the value in this field cannot exceed the DataMart Native Max Count system parameter.

Data Chunk Size

Type a number to override the number of records processed in a single thread for the data source.

If the data source connection is OLE DB, this field overrides the value in the DataMart OleDB Max Count system parameter. If the data source connection is Native, this field overrides the value in the DataMart Native Max Count system parameter.

Contains Multi-Byte Data

Select whether any incoming records contain double-byte characters.

Select Yes if the language for the application is Japanese.

Publish to Integration Workbench

Select whether to send imported records to the Integration Workbench.

Data Cleansers

Select the data cleansers to use when importing records from this data source.

You configure data cleansers in the Data Cleansers module.

Import Domains

Select the domains in which the records imported from this data source will be available.

Key Fields that Appear Based on Target Group

These fields appear for a data source if you select Audience Members in the Target Group field.

Field Description

Company Import Type

Select how to match incoming company records to existing records.

You can import associated company records while importing audience member records into the application.

Company Literal Match Attribute

This field appears if the company import type is Literal Matching.

Select company ID or an identifying extended attribute. If a record in the data source has the same value in this field as a company record in the application, the application merges the records. Otherwise, the application adds a new company record to the master companies list.

You must also include the literal match attribute on the Field Maps tab. The comparison uses the field you map to the literal match attribute.

Company Candidate Set Rules Mode

This field appears if the company import type is Aggressive Matching.

Select whether you can customize the company candidate set rules. The company candidate set rules determine which records the company matching rules process. The company candidate set rules operate independently of the candidate set rules customized for audience members.

Company Matching Rules Mode

This field appears if the company import type is Aggressive Matching.

Select whether you can edit the company matching rules. The company matching rules are a set of field-by-field comparisons that determine whether an incoming company record matches a company record that exists in the application.

Company Matching Threshold

This field appears if the company import type is Aggressive Matching, and the company matching rules mode is Custom.

When comparing an incoming company record to an existing company record, the application uses the company matching rules to tabulate a match score. The company matching threshold is the lowest score that represents a match. See Company Matching Rules.

Create Contact History

Allows you to create contact history when importing audience member data.

Usage Restriction

Select whether records imported from this data source are to be used once. This can be important if you are importing records from a rented list.

Audience member records have a corresponding Usage Restriction field. During the import, new records are given the usage restriction option selected here.

The application does not automatically enforce usage restrictions. To enforce usage restrictions, you must configure the modules that process audience member records appropriately.

These fields appear for a data source if you select Suppliers, Companies, Contact History, Products, or Product History in the Target Group field.

Field Description

Product History

This field appears if the target group is Product History.

The records imported from this data source are assigned to the selected product history record type.

Contact History

This field appears if the target group is Contact History or if Create Contact History is set to Yes.

The records imported from this data source are assigned to the selected contact history record type.

Select the contact history type record to create for each audience member record imported.

These fields appear for a data source if you select Participants in the Target Group field.

Field Description

Create Users

Select whether the application generates and updates user records for imported participant records.

For more information, see Importing Participants and Users.

Password Expires

This field appears if you set the Create Users field to Yes.

Select whether the password for a new user record expires.

Application User

This field appears if you set the Create Users field to Yes.

Select whether to give new user records the rights to use the application.

New users are added as application users if no license violations are caused. See Importing Participants.

Note:
Application users have the user type of Full User in Aprimo.

Portal User

This field appears if you set the Create Users field to Yes.

Select whether to give new user records the rights to use the portal.

If you select Yes, you must specify which portals to give new users the rights to use.

Note:
Portal users have the user type of Access User in Aprimo.

Lead Portal Access

This field appears if you set the Portal User field to Yes.

Select whether to give new user records the rights to use the Leads Portal.

Note:
Portal users have the user type of Access User in Aprimo.

Task Portal Access

This field appears if you set the Portal User field to Yes.

Select whether to give new user records the rights to use the Tasks Portal.

Note:
Portal users have the user type of Access User in Aprimo.

Digital Asset Portal Access

This field appears if you set the Portal User field to Yes.

Select whether to give new user records the rights to use the Digital Assets Portal.

Note:
Portal users have the user type of Access User in Aprimo.

Import Type Options

A key feature of the Data Sources module is the ability to match incoming records to existing Aprimo records. The import type determines the matching option to use when the data source is imported.

Option Description

Standard

This option is available for data sources associated with inbound forms.

It performs a literal match if an identifying attribute is available, and then an aggressive match if the literal match does not match the audience member.

This option is the default import type for data sources associated with inbound forms.

Direct Import

This option does not attempt to match incoming records to existing Aprimo records.

Literal Matching

This option determines whether an incoming record matches an existing record by comparing one Aprimo field to one data source field.

Records match only if the values are identical.

When you configure a data source to use literal matching, you must specify a literal match attribute. You must also include the literal match attribute when you define the field maps. The field you map to the literal match attribute is used in the comparison.

Note:
If you set the target group to Product History or Contact History, you do not have to select a literal match attribute.

Aggressive Matching

This option uses the matching rules to determine whether an incoming record matches an existing Aprimo record.

The matching rules are a set of field-by-field comparisons that determine whether an incoming record matches an existing Aprimo record. You can use a predefined set or customize your own matching rules.

The candidate set rules determine which records the matching rules process.

Schedule Information

Data sources import information on a scheduled basis. Schedule information determines when data sources run and how often they run. Before you can start a data source, you must configure the schedule information.

Caution:
An end user might attempt to change a record while the import process is using it, which could cause conflicts. Consider scheduling data sources to run after regular business hours.

SQL Statement

Target Group Entry Description

All

SQL Statement

Type a SQL statement to extract the data from the data source. See Defining SQL Statements.

Data Source Key

Type the name of the field that contains the unique identifier for the records you are importing.

Note:
The SQL statement must select the field that contains the data source key.
Audience Members

Company Foreign Key Field

Select the data source field to use to link the incoming audience members records to the company records in Aprimo.

The list is empty until you click the Refresh button. If the SQL statement is correct, clicking the Refresh button populates the list with field names from the data source.

Company Key Attribute

Select the company attribute that corresponds to the Company Foreign Key Field. You can select the company ID or an identifying extended attribute.

Companies

Parent Company Foreign Key Field

Select the data source field to use to associate the incoming company records to company records that already exist in Aprimo.

The list is empty until you click the Refresh button. If the SQL statement is correct, clicking the Refresh button populates the list with field names from the data source.

Company Key Attribute

Select the company attribute that corresponds to the Parent Company Foreign Key Field. You can select the company ID or an identifying extended attribute.

Contact History

Source Identifying Attribute

Indicates the data source field to use to associate the incoming contact history records with audience member records in the application.

The list is empty until you click the Refresh button. If the SQL statement is correct, clicking the Refresh button populates the list with field names from the data source.

Destination Identifying Attribute

Select the audience member attribute or extended attribute that corresponds to the Source Identifying Attribute.

Audience Member

All incoming records that do not match an audience member are associated with this audience member.

Product History

Product Source Identifier

Select the data source field to use to associate the incoming product history records with the correct product record in the application.

The list is empty until you click the Refresh button. If the SQL statement is correct, clicking the Refresh button populates the list with field names from the data source.

Destination Identifying Attribute

Select the product attribute or extended attribute that corresponds to the Product Source Identifier.

Target Group

Select whether to associate the incoming product history records with an audience member or company record in the application.

Audience Member Source Identifier

Select the data source field to use to associate the incoming product history records with audience member records or company records in the application.

The list is empty until you click the Refresh button. If the SQL statement is correct, clicking the Refresh button populates the list with field names from the data source.

Audience Member Destination Identifier

Select the attribute or extended attribute in the application that corresponds to the Audience Member Source Identifier.

Audience Member for Unmatched Records

All incoming records that do not match an audience member or company are associated with the selected record.

For more information, see Defining SQL Statements.

SQL Builder

The SQL statement must include the name of every field in the data source from which you want to obtain data. If the application connects to the data source through an OLE DB connection, you can select all fields in a table by using an asterisk (*) in a SELECT statement. However, if the application connects to the external database using a native database connection, you cannot use an asterisk (*) in a SELECT statement. In this case, the SELECT statement must list the name of every field you want to import.

Instead of manually adding field names to the SQL statement, you can use the SQL Builder to select the fields you want to use. The SQL builder can access one table at a time.

Field Description

Table Name

Type the name of the table that contains the data to import.

After you enter the table name, click the Refresh button to populate the Import Build SQL page with the field names from the table.

Table Alias

Type an alternate name for the table, if neccessary.

You must use a table alias if you will be importing data from more than one table and the tables contain identical field names.

Append

Select how to add the field names to the SQL field.

If you want to add the field names to an existing SQL statement, select Yes. If you select No, the statement generated by the SQL builder overwrites the current SQL statement.

Source Field

This column lists all fields from the table in the Table Name field.

To see the source fields, type the table name and click the Refresh button. Select the Include check box for all fields you want to import into the application.

Handling Special Characters

If the data source contains field names that have special characters, you might need to adjust these field names so that the application can validate the data source. The special character in the following example is the space in the First Name field and the Last Name field. The SQL statement uses an alias to make the query valid.

Handling Dual Keys

If you need to import a field with dual keys, and both keys are stored as strings in the database, you could add this line to the SQL statement:

Then you could replace UNIQUE_ID1 and UNIQUE_ID2 with the key names.

If the keys are stored in numeric fields, first change the field type to string. Then combine the keys.

Using Aliases to Generate New Data

You can generate new fields by using an alias in the SQL statement. This SQL statement creates a field named Type and populates the Type field for all records with the value Customer:

Concatenating Separate Fields into a Single Field

You might need to join data from separate source fields into a single field. For example, the source data stores SFA Phone numbers in separate fields: area code, prefix, and line. You want to store this information in a single field in the application. You could use this SQL statement, which uses an alias named Phone, to achieve this:

Dividing a Field into Multiple Fields

You might need to separate data from a single source field into multiple fields. For example, the source data stores address information in a single, semicolon separated field: Addr1; Addr2; City; State. To store this information in separate fields in the application, you could use this SQL statement:

SELECT SUBSTRING(Address, 1, CHARINDEX(';', Address)-1) addr1,
SUBSTRING(Address,
     CHARINDEX(';', Address)+1,
     CHARINDEX(';', SUBSTRING(Address,CHARINDEX(';', Address)+1,100) )-1 ) addr2,
SUBSTRING(Address,
     CHARINDEX(';', Address) + CHARINDEX(';', SUBSTRING(Address, CHARINDEX(';', Address)+1,100) ) +1,
     CHARINDEX(';', SUBSTRING(Address, CHARINDEX(';', Address)+ CHARINDEX(';', SUBSTRING(Address,CHARINDEX(';', Address)+1,100) ) + 1,100) )-1 ) city, SUBSTRING(Address,
     CHARINDEX(';', Address) + CHARINDEX(';', SUBSTRING(Address, CHARINDEX(';', Address)+1,100) ) + CHARINDEX(';', SUBSTRING(Address, CHARINDEX(';', Address)+ CHARINDEX(';', SUBSTRING(Address,CHARINDEX(';', Address)+1,100) ) + 1,100) ) +1, CHARINDEX(';', SUBSTRING(Address,CHARINDEX(';', Address) + CHARINDEX(';', SUBSTRING(Address, CHARINDEX(';', Address)+1,100) ) + CHARINDEX(';', SUBSTRING(Address, CHARINDEX(';', Address)+ CHARINDEX(';', SUBSTRING(Address,CHARINDEX(';', Address)+1,100) ) + 1,100) ) +1,100))-1) state
FROM Data Source
Using the <<LastImportJob>> Meta Tag

When Aprimo executes a SQL statement, it substitutes the <<LastImportJob>> meta tag with the end time from the most recent log entry for the data source. This meta tag is commonly used to decrease the amount of time needed to process a data source.

Caution:
The <<LastImportJob>> meta tag is not compatible with OLE database connections.

In the following example, the data source contains a field that stores the last time a record was modified. The combination of the <<LastImportJob>> meta tag and this field selects only the records that have been added or changed since the last time the application processed the data source.

Note:
The application stores time information for data sources in Greenwich Mean Time (GMT). However, when it displays this information, it adjusts the time to correspond to the application server's time zone setting.

When processing the <<LastImportJob>> meta tag, the application uses the date and time stored in the application database; it does not convert the end time value. Depending on how the comparison date is stored in the data source, you might need to adjust the data source's schedule information to capture all the records you need.

Importing Data from Excel

Worksheets are like tables in SQL. In the SQL statement, refer to the worksheet in this format:

For example, you want to import data stored in an Excel worksheet named "customers." You use this SQL statement to capture the data:

Consider these additional points when you import data stored in Excel:

  • The Data Sources module assumes that the values in the first row are column names. This is helpful to keep in mind when you define the data source's field maps.
  • If you import data from multiple Excel spreadsheets, copy the data into a single spreadsheet file. Create a separate worksheet for each spreadsheet file. You need to create only one database for the spreadsheet file. You can then create a separate data source for each worksheet.
  • Be sure the Excel file is closed before you test or start the data source. If the file is open, you will receive errors.

Field Maps

You must map each source field you want to import to a destination Aprimo field.

Note:
An easy way to start creating the field maps is to click the AutoField button.
Field Description

Include

Select the left column check box for each data source field you want to map to an Aprimo field.

Source Field

This field displays the name of the field from the data source.

The Data Sources module automatically populates the Field Maps tab with all fields selected by the SQL statement. This information is read-only.

Destination Field

Select the Aprimo field to populate with information from the source field. This list includes all attributes and extended attributes for the data source's target group.

Select the Include check box to enable this field.

Mode

This field appears if the import type is Literal Matching or Aggressive Matching. Both of these import types attempt to match incoming records to existing Aprimo records. When a match is found, the records are merged together. The field map's mode determines whether the source field's value overwrites the information in the destination field.

Select the Include check box to enable this field.

Contact History Field

This field appears if the target group is Audience Members, the Create Contact History field is set to Yes, and the Contact History field has a custom contact history type.

The contact history type in the Contact History field determines which fields are available in this field.

The Contact History Field field does not affect matching. The matching scoring process can use only the Source Fields mapped to Destination Fields.

Include All Fields

Select the left column check box in the header if you want to map all fields from the data source to Aprimo fields.

For more information, see Defining Field Maps.

Field Map Mode Options

Mode Description

Always Replace

The source field's value always overwrites the destination field's value.

Replace If Empty

The source field's value is added only if the destination field is empty.

Append

This option appears only if the destination field is a multiple selection attribute.

A multiple selection attribute is an attribute that can contain more than one value. If you select this mode, the source field's data is added to the attribute. After the merge, the field contains all values from the source field and all values from the destination field.

Replace Unless Source is Blank

The source field's value overwrites the destination field's value if the source field is not empty.

Group Leaders and Group Followers

If the data source's import type is Literal Matching or Aggressive Matching, the application handles certain groups of fields in a special manner to ensure that all fields in the group contain data from a single data source.

The Literal Matching import type and the Aggressive Matching import type attempt to match incoming records to existing Aprimo records. When a match is found, the incoming record is merged with the existing record. The field map's mode determines whether the source field's value overwrites the information in the destination field.

A group leader is a field that determines the mode of the other fields in the group. The other fields in the group are group followers. When you save the field maps, the application makes sure the mode is the same for a group leader and all of its group followers. This ensures that logically grouped fields are updated with data from a single data source.

Example:
Doug is listed in the master audience member data source as living in Huntsville, Alabama. In another data source, Doug is listed as living in Indianapolis, Indiana. In the application, Addr_1, Addr_2, and Addr_3 are a group, with Addr_1 as the group leader. When this data source is imported, the Data Sources module treats the Addr_1, Addr_2, and Addr_3 fields as a single field. This eliminates the possibility of the end result being Huntsville, Indiana.

If the leader field is not mapped, the other fields in the group are treated as stand-alone fields. This could result in a record that contains name or address information that is composed of data from multiple data sources.

Record Type Group Leader Group Followers

Audience Members

Last Name

First Name Middle Name Prefix Suffix

Address Line 1

Address Line 2 Address Line 3 City State Postal Code Country

Participants

Last Name

First Name Middle Name Prefix Suffix

Address Line 1

Address Line 2 Address Line 3 City State Postal Code Country

Suppliers

Address Line 1

Address Line 2 Address Line 3 City State Postal Code Country

Companies

Address Line 1

Address Line 2 Address Line 3 City State Postal Code Country

Note:
You can map a group leader, but not map one or more of the group followers. In this situation, if an incoming record is merged with an existing record, the import process removes any data that exists in the unmapped group follower fields.

Match Key (Last Name)

The Expression Item field contains an option titled Match Key (Last Name). If you select this option, the expression finds all records with a last name that is phonetically identical to the incoming record.

Example:
The data source you are importing contains a record with the last name of Smith. The System Database contains a record with the last name of Smythe. If you use the Last Name expression item, the record for Smythe will not be in the candidate set, because Smith and Smythe are spelled differently. However, if you use the Match Key (Last Name) expression item, the record for Smythe could be in the candidate set, because Smith and Smythe could be pronounced the same way.

An expression that uses the Match Key (Last Name) expression item can result in a large candidate set for each incoming record. Because the matching rules are processed for each record in the candidate set, using the Match Key (Last Name) expression item could increase the amount of time required to process a data source.

Matching Rules

This tab appears if the import type is Aggressive Matching. Aprimo uses the matching rules to perform a field-by-field comparison between an incoming record and each record in the candidate set. When comparing records, the Data Sources module tabulates a match score. The match score determines whether an incoming record and an existing record are merged.

Note:
The Data Sources module automatically creates a set of matching rules. The default matching rules are based on the destination fields selected in the Field Maps tab. The Matching Rules Mode field determines whether you can edit the matching rules.
Field Description

Destination Field

Select the field to consider in the match calculation.

If you are creating custom matching rules, you can select from among the destination fields that have been used on the Field Maps tab. You can use each field once.

Note:
Multiple selection attributes are not available for use on the Matching Rules tab.

Match Requirement

Select how similar the source field and destination field must be for the matching rule to have a positive impact upon the match score.

The type of data in the destination field determines the available options in the Match Requirement field. For example, if the field contains a numeric value, you do not have the option to set the match requirement to Partial.

Positive Impact

Select the number of points by which the match score is affected if the match requirement is met.

If you set the match requirement to Identifying, this field is automatically set to Definite Match. If an incoming record and an existing record contain the same value in this field, the positive impact on the match score is very large. In most cases, if an existing record and an incoming record have the same value in an identifying field, the two records will be matched and merged.

Negative Impact

Select the number of points by which the match score is affected if the match requirement is not met.

When you set the match requirement to Identifying, this field indicates whether the match score is affected if the match requirement is not met. If you select Definite Miss, the negative impact on the match score is very large. Most records that have different values in the specified field will not be matched.

For more information, see Customizing Matching Rules.

Match Requirement Options

Option Description

Phone

Select this option if the field used in the matching rule contains phone number information. To have a positive impact on the match score, the first six digits of the phone number must match. If the first six digits match, a percentage of the positive impact value will be applied. The total amount applied depends on the number of matching digits. Each matching digit is worth 10% of the positive impact value.

Identifying

Reserve this option for fields that contain values that are unique for each record. To have a positive impact on the match score, the existing record and the incoming record must have the identical value in this field. If the two records have a matching value in this field, the positive impact on the match score is much greater than the impact would be for a partial or exact match. In most cases, an existing record and an incoming record will be merged if they have the same value in an identifying field.

Example:
You are creating a matching rule that uses the Social Security Number field. You could set the match requirement to Identifying, because this information is generally regarded to be unique for each individual.

Exact

To have a positive impact on the match score, the existing record and the incoming record must have the identical value in this field.

Partial

To have a positive impact on the match score, the existing record must have a value in this field that has a spelling or pronunciation similar to the value in the incoming record.

Candidate Set Rules

This tab is visible only if the import type is Aggressive Matching. The candidate set rules determine which records the matching rules process. Each incoming record has its own candidate set.

When you use the Aggressive Matching import type, the application uses the matching rules to perform a field-by-field comparison between an incoming record and existing records in the application. Although this import type can reduce the creation of duplicate records during the import process, it is a data-intensive process. Restricting the comparison to the records that are most likely to match an incoming record decreases the amount of time the data source requires to complete.

Note:
The Data Sources module automatically creates candidate set rules. The default candidate set rules are based on the destination fields you select on the Field Maps tab. The Candidate Set Rules Mode field determines whether you can edit the candidate set rules.

The candidate set rules are an expression composed of Aprimo fields. To create the candidate set, the Data Sources module substitutes the value of each field in the expression with the values from the incoming record. The candidate set is composed of all records in the application that match the expression.

Example:
The candidate set rules are:

An incoming record has the following values in these fields:

FieldContents

Last Name

Jones

State

OH

Default Email

jones@domain.com

To be included in the candidate set, an Aprimo record must contain these exact values in the corresponding fields. Therefore, to be in the candidate set for this incoming record, an Aprimo record must contain Jones in the Last Name field, OH in the State field, and jones@domain.com in the Default Email field.

For more information, see Customizing Candidate Set Rules.

Company Matching Rules

This tab appears only if the company import type is Aggressive Matching and the target group is Audience Members. The application uses the company matching rules to perform a field-by-field comparison between an incoming record and each record in the company candidate set. When comparing records, the Data Sources module tabulates a match score. The match score determines whether an incoming record and an existing record are merged.

Note:
The Data Sources module automatically creates a set of company matching rules. The default company matching rules are based on the destination fields you select on the Field Maps tab. The Company Matching Rules Mode field determines whether you can edit the company matching rules.

For many organizations, the company with which an audience member is associated is important. The process of importing audience members includes functionality that associates incoming audience member records with the existing company records in the application. This functionality reduces the creation of duplicate company records during the process of importing audience members.

Note:
If you find duplicate company records in the application, you can merge them together.
Field Description

Destination Field

Select the field to consider in the match calculation.

If you are creating custom matching rules, you can select from among the destination fields used on the Field Maps tab. You can use each field once.

Note:
Multiple selection attributes are not available for use on the Company Matching Rules tab.

Match Requirement

Select how similar the source field and destination field must be for the matching rule to have a positive impact on the match score.

The type of data in the destination field determines the available options in the Match Requirement field. For example, if the field contains a numeric value, you do not have the option to set the match requirement to Partial.

Positive Impact

Select the number of points by which the match score is affected if the match requirement is met.

If you set the match requirement to Identifying, this field is automatically set to Definite Match. If an incoming record and an existing record contain the same value in this field, the positive impact on the match score is very large. In most cases, if an existing record and an incoming record have the same value in an identifying field, the two records will be matched and merged.

Negative Impact

Select the number of points by which the match score is affected if the match requirement is not met.

When you set the match requirement to Identifying, this field indicates whether the match score is affected if the match requirement is not met. If you select Definite Miss, the negative impact on the match score is very large. Most records that have different values in the specified field will not be matched.

For more information, see Customizing Company Matching Rules.

Company Candidate Set Rules

This tab appears if the company import type is Aggressive Matching and the target group is Audience Members. The company candidate set rules determine which records the company matching rules process. Each incoming record has its own company candidate set.

When you use the Aggressive Matching company import type, Aprimo uses the company matching rules to perform a field-by-field comparison between an incoming record and the existing Aprimo records. Although this company import type can reduce the creation of duplicate records during the import process, it is a data-intensive process. Restricting the comparison to the records that are most likely to match an incoming record decreases the amount of time required to process the data source.

Note:
The Data Sources module automatically creates company candidate set rules. The default company candidate set rules are based on the destination fields you select on the Field Maps tab. The Company Candidate Set Rules Mode field determines whether you can edit the company candidate set rules.

The company candidate set rules are an expression composed of Aprimo fields. To create the candidate set, the Data Sources module substitutes the value of each field in the expression with the values from the incoming record. The company candidate set is composed of all records that match the expression.

Example:
The company candidate set rules are:

An incoming record has the following values in these fields:

FieldContents

City

Cleveland

Zip Code

44101

Company Name

Small World

To be included in the company candidate set, an Aprimo record must contain these exact values in the corresponding fields. Therefore, to be in the company candidate set for this incoming record, an Aprimo record must contain Cleveland in the City field, 44101 in the Zip Code field, and Small World in the Company Name field.

For more information, see Customizing Company Candidate Set Rules.

Creating and Editing Data Sources

Consider these points when you create a data source:

  • Each data source is associated with a database you create in the Databases module.
  • A single data source can pull data from multiple tables in a given database. For more information, see Defining SQL Statements.
  • You must create a separate data source for each target group.

After you save the data source's details, you must complete these steps:

For data sources that use the Aggressive Matching import type, you might also need to complete these steps:

For data sources with Audience Members as the target group, you might also need to complete these steps:

For instructions, see Creating Data Sources.

The schedule status determines whether you can edit the data source.

Note:
If you edit a data source that has been validated, you must revalidate it before you can test or run the data source.

Editing Inbound Form Data Sources

For each inbound form with Audience Members as the target group, Aprimo creates a data source. You can edit this data source to refine the matching rules for when audience members submit inbound forms. This enables you to prevent duplication of audience member records if the information in an inbound form does not exactly match an existing audience member record.

Note:
You can access the data source associated with an inbound form in these ways:
  • Filter the data source list to display only data sources with Audience Members as the target group. By default, data sources associated with inbound forms are suppressed.
  • Click the data source link on the inbound form.

Defining SQL Statements

The SQL statement tells Aprimo how to extract the data from the data source. The SQL statement is unique for each data source. The SQL statement specifies the fields to extract from the database. The result of the SQL statement is one record set for the data source.

When you define the SQL statement, remember these points:

  • The SQL language has many variations. Use the variation that works with the database from which you are importing data.
    Tip:
    Oracle is case-sensitive.
  • You can make joins in the SQL statement to access data from multiple tables.
  • If Aprimo connects to the external database using a native database connection, the SQL statement must indicate the location, database, and database object.
  • If Aprimo connects to the external database using a native database connection, you cannot use an asterisk (*) in a SELECT statement to capture all fields in a table. The SELECT statement must list every field name you want to import. The SQL statement window includes an SQL builder you can use to populate the SQL statement with the appropriate field names.

For more information, see the key fields for the SQL Statement tab.

Defining Field Maps

When you define the field maps, remember these points:

  • Before creating field maps, be certain that you understand the contents of every source field. You should also be familiar with the Aprimo fields into which you will import data.
  • A data source usually includes more information than you want to store in the Aprimo database. Include only the fields that contain data you want to use in Aprimo.
  • If you want to import data into an extended attribute field, you must first create the extended attribute.
  • If you want to create contact history while importing audience member data, you must first create the contact history type.
  • In general, you cannot use a destination field more than once.
    Note:
    The exception is multiple selection attributes. You can map more than one source field to a multiple selection attribute, because multiple selection attributes can contain more than one value. The mode must be the same for all fields that you map to the attribute.
  • Aprimo handles certain groups of fields in a special manner to ensure that the fields contain data from a single data source. For more information, see Group Leaders and Group Followers.

An easy way to start creating field maps is to click the AutoField button, which makes Aprimo automatically select the destination fields. To determine which field to choose, the AutoField function looks for an Aprimo field name that is similar to the source field's name. It also looks for common database field names and sets them accordingly.

Example:
You are importing audience member information. The data source contains a field named City. The Aprimo database also contains a field named City. When you click the AutoField button, Aprimo automatically maps its City field to the City field in the data source.

In the data source, the field named FNAME holds each audience member's first name. The Aprimo database does not contain a field with this name. However, FNAME is a common name for a field that holds first names. Therefore, when you click the AutoField button, the FNAME field in the data source is automatically mapped to the First Name field in Aprimo.

After you click the AutoField button, carefully verify the results to make sure the information from the data source is added to the correct field in Aprimo. If necessary, you can edit the field maps.

Caution:
Be certain that you have mapped each source field to the correct destination field before you process the data source. An incorrect setting in the Field Maps tab could have a negative effect on the Aprimo database.

Customizing Matching Rules

The Matching Rules Mode field determines whether you can customize the matching rules.

To customize the matching rules, you must specify a matching threshold on the data source's Details tab. The matching threshold is the lowest score that represents a match. If an existing record has a match score that exceeds the matching threshold, that record is merged with the incoming record. If more than one record has a match score that exceeds the threshold, the record with the highest match score is merged with the incoming record.

Example:
You create these matching rules:
Aprimo FieldMatch RequirementPositive ImpactNegative Impact

Last Name

Partial

High (800)

High (-800)

E-mail Address

Exact

High (800)

Low (-100)

Postal Code

Exact

Medium (400)

Low (-100)

Customer Code

Exact

Medium (400)

Medium (-400)

When Aprimo processes the record for Benjamin Harrison, it finds two match candidates.

Match Candidate 1:

Aprimo FieldIncoming RecordAprimo RecordScore

Last Name

Harrison

Harrison

800

E-mail Address

bharrison@company.com

whharrison@company.com

-100

Postal Code

45052

23030

-100

Customer Code

12345-ABCD

12345-ABCD

400

Total Score

1000

Match Candidate 2:

Aprimo FieldIncoming RecordAprimo RecordScore

Last Name

Harrison

Harrison

800

E-mail Address

bharrison@company.com

benjaminh@company.com

-100

Postal Code

45052

45052

400

Customer Code

12345-ABCD

12345-ABCD

400

Total Score

1500

The data source's matching threshold is 1000. The match score of both candidates is greater than the matching threshold. Match Candidate 2 has the highest match score. Therefore, Aprimo merges it with the incoming record.

Remember these points about creating custom matching rules:

  • The highest possible match score must be greater than or equal to the matching threshold. The highest possible match score is the sum of all positive impact values for all matching rules.
  • You can run the data source in test mode to analyze the matching rules. The Test Output module shows detailed information about each match candidate.
  • The rules work in combination to determine whether an incoming record matches an existing record.
  • If you like the matching rules you created but find that too many or too few records are being matched, you can adjust the matching threshold.

For more information, see the key fields for the Matching Rules tab.

Customizing Company Matching Rules

The Company Matching Rules Mode field determines whether you can customize the company matching rules.

To customize the company matching rules, you must also specify a company matching threshold on the data source's Details tab. The company matching threshold is the lowest score that represents a match. If an existing record has a match score that exceeds the matching threshold, that record is merged with the incoming record. If more than one record has a match score that exceeds the threshold, the record with the highest match score is merged with the incoming record.

Example:
You create these company matching rules:
Aprimo FieldMatch RequirementPositive ImpactNegative Impact

Company Name

Partial

High (800)

High (-800)

E-mail Address

Exact

High (800)

Low (-100)

Postal Code

Exact

Medium (400)

Low (-100)

Last Name

Partial

Medium (400)

Low (-100)

When Aprimo processes the audience member record for Benjamin Harrison along with the company record of WorldWide Corporation, it finds two match candidates.

Match Candidate 1:

Aprimo FieldIncoming RecordAprimo RecordScore

Company Name

WorldWide Corporation

WorldWide Corporation

800

E-mail Address

bharrison@worldwide.com

whharrison@worldwide.com

-100

Postal Code

45052

23030

-100

Last Name

Harrison

Harrison

400

Total Score

1000

Match Candidate 2:

Aprimo FieldIncoming RecordAprimo RecordScore

Company Name

Worldwide Corporation

Wordwide Corp.

800

E-mail Address

bharrison@worldwide.com

benjaminh@worldwide.com

-100

Postal Code

45052

45052

400

Last Name

Harrison

Harrison

400

Total Score

1500

The data source's company matching threshold is 1000. The match score of both candidates is greater than the company matching threshold. Match Candidate 2 has the highest match score. Therefore, Aprimo merges it with the incoming record.

Remember these points about creating custom company matching rules:

  • The highest possible match score must be greater than or equal to the company matching threshold. The highest possible match score is the sum of all positive impact values for all company matching rules.
  • You can run the data source in test mode to analyze the company matching rules. The Test Output module shows detailed information about each match candidate.
  • The rules work in combination to determine whether an incoming record matches an existing record.
  • If you like the company matching rules you created but find that too many or too few records are being matched, you can adjust the company matching threshold.

For more information, see the key fields for the Company Matching Rules tab.

Customizing Candidate Set Rules

The Candidate Set Rules Mode field determines whether you can customize the candidate set rules.

To customize candidate set rules, use the Expression Item list to insert the fields you want to use. This list includes all destination fields used on the Field Maps tab. It also includes an option called Match Key (Last Name).

Example:
The data source you are importing contains the contact information for a very large number of audience member records. To ensure that the data source is processed in an efficient manner, you want the candidate set to contain only records that have the same last name, email address, and state as the incoming record. Therefore, you create these candidate set rules:

You can use parentheses to combine statements in the expression and to control the order in which Aprimo processes the statements.

Example:
To be in the candidate set, an existing record must have at least the same last name as the incoming record. You want to narrow the candidate set using the Postal Code, Default Email, or Home Phone fields. However, you do not want to require a record to match all of these fields to be included in the candidate set. Therefore, you create these candidate set rules:

For more information, see the key fields for the Candidate Set Rules tab.

You can run the data source in test mode to analyze the effectiveness of the candidate set rules. The Test Output module shows the number of records that match the candidate set rules for each incoming record.

Customizing Company Candidate Set Rules

The Company Candidate Set Rules Mode field determines whether you can customize the company candidate set rules.

To customize company candidate set rules, use the Expression Item list to insert the fields you want to use. This list includes all destination fields used on the Field Maps tab.

Example:
The data source you are importing contains the contact information for a very large number of audience member records with company information. To ensure that the data source is processed efficiently, you create these rules:
  • The candidate set contains only the records that have the same last name, email address, and state as the incoming record.
  • The company candidate set contains only the records that have the same company name, e-mail address, and phone number as the incoming record.

Therefore, you create these company candidate set rules:

You can use parentheses to combine statements in the expression and to control the order in which Aprimo processes the statements.

Example:
To be in the company candidate set, an existing record must have at least the same company name as the incoming record. You want to narrow the company candidate set using the Default Email field or the Phone Number field. However, you do not want to require a record to match all of these fields to be included in the company candidate set. Therefore, you create the following company candidate set rules:

For more information, see the key fields for the Company Candidate Set Rules tab.

You can run the data source in test mode to analyze the effectiveness of the company candidate set rules. The Test Output module shows the number of records that match the company candidate set rules for each incoming record.

Importing Data into Extended Attribute Fields

The application has a set of standard attributes for capturing information about audience members, companies, participants, and suppliers. Examples of standard attributes for audience members are Last Name and Day Phone Number.

Your organization can create extended attribute fields to capture additional information about these objects and to import data into these fields.

Extended Attribute Types

This table lists some of the types of extended attributes you can create, and the special considerations for importing data into those fields.

Extended Attribute Type Description Notes

Picklist-Encoded

This is a list from which a user can select one item.

You do not need to create the selection options for this type of extended attribute before you start the data source.

If the value in the source field does not match any selection options for the extended attribute, the value is stored in the object record. The value is also added to the list of selection options.

Multiple Selection

This is a list from which a user can select more than one item. This type of field always contains two lists: an Available list and a Selected list. Users populate the field by moving selection options from the Available list to the Selected list.

You do not need to create the selection options for this type of extended attribute before you start the data source.

If the value in the source field does not match any selection options for the extended attribute, the value is stored in the object record. The value is also added to the list of selection options.

For more information about the types of extended attributes that you can create, see Data Types.

Secure Extended Attributes

There are special considerations for importing data into secure extended attributes. You can create secure extended attributes for audience member records. A secure extended attribute contains confidential information that should be available only to a select group of users. Aprimo imports information into a secure extended attribute without regard for the specific rights for that attribute. Any user with access to the Data Sources module can import information into secure extended attributes. However, a user could import information into secure extended attributes, and then not be able to see that information in the application.

Importing Participants

When you import participants, you can create user records for them.

Note:
The feature to import review users is not available.
Example:
You have 1200 sales representatives, and each representative needs access to the Leads Portal. You import the list of sales representatives into the master participants list. You configure the data source to also create user records. Because Aprimo adds the sales representatives to the application as participants, you can assign leads to them. Because Aprimo adds the sales representatives as users, they can access the Leads Portal.

When Aprimo creates new user records during the participant import process, it observes these rules:

  • The new user record's default password is the same as its login ID.
  • The new user is created in all domains specified in the data source.
  • The new user has all portal rights selected in the data source.

Creating a new user cannot cause a license violation. If the number of new users exceeds the total number of user licenses, these actions occur:

  • The user records are created, but an error is recorded in the data source log.
  • If the new users are portal users, the users are created as active access users. They do not have access to the main Aprimo application.
  • If the new users are not portal users, the users are created with Inactive status.

If you configure the data source to create user records, the import process updates existing user information under these conditions:

  • The incoming participant record matches an existing participant record.
  • The existing participant record is mapped to a user record.
  • The incoming participant record contains a login ID that exactly matches an existing user record's login ID.
  • The incoming participant record contains a mapped user ID that exactly matches an existing user record's login ID.

If these conditions are not met, the application creates a new user record.

Note:
You can map only one participant to each user record.