Create a File Specification template
Create a file specification template to use when you build your contact lists. A file specification template describes the format of the input file for the contact list that you build. You can use advanced preprocessing to modify input data when you create a file specification template. A file specification template allows you to upload your contact records in different file formats when you build contact lists.
The supported file formats include:
- Delimited formats .csv and .dsv
- Fixed Length formats .txt and .dat
Use the File Specification Templates tab to create a new file specification template and to display a list of your File Specification Templates.
Here’s how to create a file specification template.
- Click Admin.
- Under Outbound, click List Management.
- Click Menu > Channels > Outbound > List Management.
- Click the File Specification Templates tab.
- Click Create New.
- In the File Specification Template Name box, enter a unique name. Names can contain spaces, numbers, and special characters, but must be unique.
- Optionally, describe the file specification template in the Description box.
Next, select the File Format for the input file to use when you create your contact list.
Advanced input preprocessing
Create Advanced input preprocessing search and replace expressions for your file specification template that the system uses to upload data for your contact list. Preprocessing allows you to manipulate the input data before it is uploaded. Search and replace expressions are applied to each line of the input file before it is uploaded into the contact list.
To create search and replace expressions:
- Select Advanced, and then click Add New Expression.
- Enter a regular expression in the Search For box. Regular expressions can be a straightforward search for a specific word, a sequence of characters, or more complex patterns.
- To make the search case insensitive, toggle Ignore Case to Yes. The default No makes the search case sensitive.
- To replace every occurrence in the input line, toggle Global Replace to Yes. The default No only replaces the first found occurrence in the input line.
- Enter a replacement string in the Replace With box. The results of your search and replace are automatically shown in the Sample Rows. You can delete a string from your input data by leaving the Replace With box blank in your search.
- To add more search and replace expressions, click Add New Expression. The additional expressions are applied to the input file in the order in which they are created. You can add up to five search and replace expressions.
- To remove a search and replace expression, click the minus button in the upper right corner of the Search/Replace Expressions box.
- To create your file specification template, click Save.
One preprocessing search and replace expression can create a result that might be unintentionally manipulated by the next preprocessing expression. Always check the results when using multiple search and replace expressions in your file specification templates.
[NEXT] Was this article helpful?
Get user feedback about articles.