Input Attribute mapping
Input Attribute mapping is the process that accomplishes the moving of data from the input source to the Work entry in the AssemblyLine. Input Attribute maps are shown in the Attribute Maps window of the Connector, when brought up in the Connector Editor, with an arrow pointing to the Connector from an entity referred to as "[Source]". They are also shown in the Schema window, under Input Attribute map.
Before you begin
In order to be able to set up the Input Attribute map, the Connector must be set to a mode which supports input, in the toolbar of the Connector. Modes that support input are typically Iterator, Lookup and Server.Then, in the Input Map section, you select those Attributes from the input source that we wish to process in the AssemblyLine.
About this task
Connectors to be set up for Input Attribute mapping can either reside in the <workspace>/Resources/Connectors, or in their designated position in the AssemblyLine.
Procedure
- Click Input Map.
- Click Connect, followed by Next to get the schema for many datasources. Some Connectors or Connector-Parser combinations have pre-defined schemas, whereas others prompt you to read a sample entry from the data source and examine it to discover attributes.
- Finally, select Attributes from the Schema list and then drag them into the Attribute Map, or add these manually with the Add and Delete buttons. The Attribute Map controls which Attributes are brought into your AL for processing, as well as any transformations you specify.
What to do next
These mapped Attributes are retrieved from the data source, placed in the Work entry, and passed to subsequent Connectors in the Flow section in the AssemblyLine.
If you did not create the Connector directly in an AssemblyLine, then in order to use this Connector in an AssemblyLine, drag the Connector from its location in <workspace>/Resources/Connectors to the Feed section of an AssemblyLine.
Parent topic:
Attribute Mapping and Schema