LISTSERV Maestro 8.1-4 Help

Forward >> << Back Table Of Contents

Edit Subscriber Importer

The Edit Importer wizard lets you define, name and save a subscriber importer. This importer contains import modifications that will be performed on the list and/or dataset subscribers in a reusable fashion, so that the same modification can easily be applied several times.

If you do not want to create and save an importer but only want to make a one-time modification via upload, use the Modify by Import wizard instead.

The wizard has eight pages: General, Type, Type Details, Source, Parse Details, Map Fields, Mapping Details, and Summary.

The top row of the wizard displays links to these eight pages. The page that is currently open is marked with a highlighted background color. Depending on the choices made on some of the wizard pages, other pages may become disabled or may be shown in different versions. If a wizard page is disabled, then it means that this page is not necessary with the current choices and can safely be ignored.


Parse Details Page: CSV Separator and Quote Settings

This screen is only used if the import data was uploaded from a file. This screen allows for the definition of details about the file whose origin was defined on the Source screen.

At the bottom of the screen, a preview sample with the data parsed from the uploaded file is displayed.

The Header Row section above allows the toggling between a file that contains a header row and a file without headers.

For Text / CSV files only:

LISTSERV Maestro initially parses the uploaded data with standard settings. If the result of this parsing is not acceptable, for example if the data has not been correctly separated into columns or if some of the data is unreadable, then use the Click here link to specify your own parse settings and/or language settings. After entering your own custom settings, click the [Refresh Preview] button to see an updated preview result. Reconsider the selections if the displayed preview does not show the contents of the file correctly separated into columns.

Comma Separated Files

The term "comma-separated values" (or "tab-separated values" or "CSV") is often used as a catch-all term for all kinds of text-based data formats where the data is formatted in a line-by-line fashion. Each line contains one data record, and a number of columns per line, where the different columns are separated by comma, a tab, or some other separator character.

LISTSERV Maestro can correctly interpret comma separated text files in various formats as long as the following rules are applied:

The last rule listed above introduces the concept of "quoted values". As described, it is necessary to quote a value if the value contains the separator (because otherwise the separator would be interpreted as the start of another value). For LISTSERV Maestro to correctly know how to deal with quoted values, it is necessary to tell LISTSERV Maestro if the comma separated file contains any quoted values or not.

If a file does not contain any quoted values, then the additional rules explained below do not apply, i.e. even if one of the usual quote characters (for example quotation marks or the apostrophe) would appear anywhere in the file, they would be interpreted by LISTSERV Maestro as just another normal character.
However, such a file can also not have any value which contains the separator. If at least one value contains the separator, then this value must be quoted, and by this the file becomes a file with quoted values again.

If a file does contain quoted values (at least one of them), then it must follow these additional rules:

Here are some examples:

Simple values, separated by comma, not quoted:

  John,Doe,Chicago,USA
  Lucy,Summers,London,GB
  Karl,Hauser,Frankfurt,D

This will be parsed as follows:

John Doe Chicago USA
Lucy Summers London GB
Karl Hauser Frankfurt D

Simple values, separated by comma, not quoted, with empty fields:

  John,,Chicago,USA
  ,Summers,London,GB
  Karl,Hauser,Frankfurt,

This will be parsed as follows:

John   Chicago USA
  Summers London GB
Karl Hauser Frankfurt  

Values of which some contain a comma, separated by comma, quoted with <">:

Using the style that quotes all values:

  "John","Doe","Chicago, Illinois","USA"
  "Lucy","Summers","London, England","GB"
  "Karl","Hauser","Frankfurt","D"

Or using the style that quotes only the values that have to be quoted:
(The only values that have to be quoted in this example are the two values containing the separator character <,>.)

  John,Doe,"Chicago, Illinois",USA
  Lucy,Summers,"London, England",GB
  Karl,Hauser,Frankfurt,D

Both will be parsed as follows:

John Doe Chicago, Illinois USA
Lucy Summers London, England GB
Karl Hauser Frankfurt D

Values of which some contain a comma, separated by comma, quoted with <">, with empty fields:

Using the style that quotes all values:

  "John","","Chicago, Illinois","USA"
  "","Summers","London, England","GB"
  "Karl","Hauser","Frankfurt",""

Or using the style that quotes only the values that have to be quoted:
(The only values that have to be quoted in this example are the two values containing the separator character <,>.)

  John,,"Chicago, Illinois",USA
  ,Summers,"London, England",GB
  Karl,Hauser,Frankfurt,

Both will be parsed as follows:

John   Chicago, Illinois USA
  Summers London, England GB
Karl Hauser Frankfurt  

Values of which some contain a comma and some the quote character, separated by comma, quoted with <">:

Using the style that quotes all values:

  "John","Doe","Chicago ""The Windy City"", Illinois","USA"
  """Little"" Lucy","Summers","London, England","GB"
  "Karl ""Big Boy""","Hauser","Frankfurt","D"

Or using the style that quotes only the values that have to be quoted:
(The values that have to be quoted in this example are the two values containing the separator character <,> and also the first value of the second row, which starts with the quote character <">. In comparison, the first value of the third row does contain the quote character too, but not as the first character. Therefore this field does not have to be quoted and the quote character is therefore also not escaped.)

  John,Doe,"Chicago ""The Windy City"", Illinois",USA
  """Little"" Lucy",Summers,"London, England",GB
  Karl "Big Boy",Hauser,Frankfurt,D

Both will be parsed as follows:

John Doe Chicago "The Windy City", Illinois USA
"Little" Lucy Summers London, England GB
Karl "Big Boy" Hauser Frankfurt D
© 2002-2017 L-Soft Sweden AB. All rights reserved.