Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this Page

...

Info
titleWhen you use the Mapper, ensure the following:
  • If an XML schema is exposed in the Target schema column of the Mapper Snap, map the attribute fields before the element fields of the enclosing element field. The mapping ensures that the JSON produced data from the Mapper Snap is valid for converting to XML.
  • If a Copy Snap is placed directly after a Mapper Snap, schema information is not visible in the target schema of the Mapping Table.

...

To let the SnapLogic Platform make the best effort at mapping, click AutoLink. Refer to AutoLink for more information. To manually map fields:

  1. Click  to add a row. Drag a field  Drag an element from the Input Schema into the empty field to Expression field of the Mapping table to change the input to an expression.
  2. Drag the appropriate output schema Output Schema field into the target path for the corresponding input schema Input Schema field. If a value already exists, the new value replaces it.

...

 To insert a new line between entries, use the Unicode value of \u000A, as in:
 $element + "\u000A" + $element 

...

  • Select All: Click this button to select all fields in a schema, including the collapsed children.
  • Deselect All: Click this button to deselect all the selected fields in a schema, including the collapsed children.
    To select (or deselect) a subset of the schema, search for the key name. Click  Click Select All (or or Deselect All). In this case, Note that select (or deselect) applies only apply to fields that match the search terms.
  • Shift-click: You can also use a keyboard shortcut to select a range of fields. Select the first field in the range, hold down the Shift key, then select the last field in the range. You can also hold down the Shift key and click a plus symbol + in the schema hierarchy to expand that part of the hierarchy.

...