- 2 Minutes to read
- Print
- DarkLight
Import Group Attributes
- 2 Minutes to read
- Print
- DarkLight
Goal
To import group attributes into a group using an XML or CSV file.
Navigation Path
Go to Administration > Attributes > Group Attributes.
Select the group.
Expand the More Options drop-down list.
Click Import.
Prerequisites
Before importing group attributes, ensure the following:
Existing Group: The target group must already exist in Mapp Engage.
File Format Requirements:
The file should not exceed 1,000 attributes.
Attributes must use the
string
data type, with each value limited to 2,000 characters.Null (empty) values are not permitted.
Attribute names are not case-sensitive (e.g.,
customerID
andCustomerid
are treated as the same attribute).
Separate Files: Group attributes must be in a dedicated file separate from contact data imports.
Import Configuration
When importing, you will need to specify the following details:
File: Enter the file path manually or select the file using the Browse button.
File Type: Choose between CSV or XML.
Character Set: Select the file's character encoding. Refer to Character Encoding for more information.
Import Mode: Choose how the imported attributes interact with existing attributes:
Add: Adds new attributes without modifying existing ones.
Replace: Replaces all existing attributes with the new ones.
Delete: Deletes existing attributes before importing the new ones.
Add and Update: Adds new attributes and updates any existing ones. Attributes not in the file remain unchanged.
Update: Updates existing attributes without adding new ones.
Separator: For CSV files, specify the delimiter. The default is a comma (,).
After configuration, click Upload. An email confirmation will be sent upon successful import.
Note: Selecting the correct character set is critical. If the wrong encoding is chosen, the imported data may be displayed incorrectly.
File Structure Requirements
XML File Format
An XML file must include the following components:
XML Declaration: Specifies the XML version and character encoding.
Tags: Each XML element must have a start tag (
<elementname>
) and an end tag (</elementname>
).Elements: Use the following elements:
<groupattributes>
: Wraps all attribute data. Include the XML namespace attribute (xmlns="http://webservices.ecircle-ag.com/ecm"
).<groupattribute>
: Defines a single attribute.<name>
: Specifies the attribute name.Note:
If a group attribute with that name exists in the group, Mapp Engage updates the value of the existing attribute.
If a group attribute with that name does not exist in the group, Mapp Engage creates a group attribute.
<value>
: Specifies the attribute value.
Example
<groupattributes xmlns="http://webservices.ecircle-ag.com/ecm">
<groupattribute>
<name>Flight</name>
<value>Frankfurt - Paris €299</value>
</groupattribute>
<groupattribute>
<name>Hotel</name>
<value>SuperFrenchLuxuryHotelChain</value>
</groupattribute>
<groupattribute>
<name>Destination</name>
<value>Explore Paris!</value>
</groupattribute>
</groupattributes>
CSV File Format
The CSV file header must include the following columns:
"group.PropertyName"
Note:
If a group attribute with that name exists in the group, Mapp Engage updates the value of the existing attribute.
If a group attribute with that name does not exist in the group, Mapp Engage creates a group attribute.
"group.PropertyValue"
Example
"group.PropertyName","group.PropertyValue"
"Flight", "Frankfurt - Paris €299"
"Hotel", "SuperFrenchLuxuryHotelChain"
"Destination", "Paris"
Procedure
Go to Administration > Attributes > Group Attributes.
Select the desired group.
Expand the More Options drop-down and click Import.
Upload the file using the file picker.
Select the file type (CSV or XML).
Specify the character set.
Choose the desired import mode.
(For CSV files) Enter the separator under Advanced Options (default: comma).
Click Upload to begin the import.
A report on the import will appear in the Group Attributes window.
Successfully imported attributes will be displayed.