To create a custom attribute
The steps for creating custom campaign, offer, or cell attributes are the same. The custom attribute type that you specify during creation determines whether the attribute can be used on campaigns, offer templates and offers, or cells on a Target Cell Spreadsheet.
*
1.
Select Settings > Campaign Settings.
2.
In the Templates and Customizations section, click Custom Attribute Definitions.
The Custom Attribute Definitions window displays the standard offer attributes and any custom attributes that have already been created.
3.
Click the Add a Custom Attribute icon.
4.
a.
Enter an Attribute Display Name to specify the label that users will see. There are no special naming restrictions.
b.
Enter an Internal Name, which will be used to reference this attribute when writing a Unica® expression such as a query or custom macro . The internal name must start with an alphabetic character, may not include spaces, and must be globally unique. Internal names are not case sensitive. It is a best practice to use the same name as the display name without any spaces (for example, "InterestRate”).
c.
Use the Attribute Of drop-down list to indicate where this attribute can be used:
*
A Campaign attribute will be included on every campaign, even campaigns that have already been created.
*
An Offer attribute will be available for use on new offer templates. If the attribute is included on an offer template, then any offers based on that template will include the attribute.
*
A Cell attribute will be included in the Target Cell Spreadsheet for every campaign, even campaigns that have already been created.
d.
e.
Optionally, check the Mandatory box to make the value of this attribute required. You can change this setting later, if desired.
*
*
*
*
f.
Use the Form Element Type list to specify the type of data to be stored in the attribute field for offers or cells.
After you add the custom attribute, you cannot change its data type.
g.
*
Maximum String Length: If you selected Select Box - String or Text Field - String, you must specify the maximum number of characters that will be stored for any value of this attribute.
*
Decimal Places: If you selected Text Field - Numeric or Text Field - Currency, you must specify the number of decimal places that will be displayed to the right of the decimal point.
For Text Field - Currency, the currency value reflects the number of decimal places customarily used in the local currency. If you specify a number of decimal places less than the number commonly used, the currency value will be truncated.
h.
If you selected Select Box - String as the Form Element Type:
*
Optionally, check Allow addition of list items from within edit forms to allow any user to add new unique values to the list of available values when creating or editing a campaign, offer template, or offer that includes this attribute. (This option does not apply to cells.) For example, if a Select Box on an offer template contains the values Small, Medium, Large, a user could add the value Extra Large when creating an offer or editing the offer template.
Once the campaign, offer template, or offer is saved, the user cannot remove the new list item. The value is saved back to the custom attribute definition and is then available to all users. Only administrators can remove items from lists, by modifying the custom attribute.
*
The Source list of available values is the list of items available in the Select Box. Populate the list by entering values in the New or Selected Item field and clicking Accept. To delete a value, select it in the Source list of available values and click Remove.
*
Optionally, specify a Default Value for the Select Box. The default value will be used on the campaign, offer, or TCS, unless the user specifies a different value when creating or editing the campaign, offer, or cell.
*
Specify the Sort Order to determine how the values will appear in the list.
5.
Click Save Changes.