Event data
‘Event data’ refers to the actual data or data contents that you transfer from the source system to Inxmail Commerce and, by extension, to your transactional emails.
For all event data in your source system, a corresponding XML tag must exist or must be created in the event XML. The mapping of the individual event data in the source system to the corresponding element in the event XML is defined via the <placeholder> XML tag. If, for example, you would like the customer ID to be displayed in the transactional email, you must create an ‘ID placeholder’ in Inxmail Commerce.
Syntax for placeholder IDs The <id> of <placeholder> must always start with a capital letter. It may contain the following characters: a-z, A-Z, 0-9, _, $, @ and the Unicode characters from 0x0C0 to 0x2B8 (see acters
Order confirmation > Customer information > ID
<placeholder>
<id>Id</id>
<translation language="en">CustomerId</translation>
<translation language="de">KundenId</translation>
<datatype-string/>
</placeholder>
Data types
The following table provides an overview of the data types you can use or define for event data. Parameter settings are possible for some data types.
Data type |
Description |
---|---|
<datatype-string/> |
|
<datatype-long/> |
|
<datatype-integer/> |
|
<datatype-double/>
|
Corresponds to: <datatype-double decimalSeparator="."groupingSeparator=","/> |
<datatype-double decimalSeparator=","/> |
|
<datatype-double decimalSeparator=","groupingSeparator=""/> |
|
<datatype-boolean/> |
Corresponds to: <datatype-boolean truePattern="true falsePattern="false" Pattern comparison is case insensitive |
<datatype-boolean truePattern="yes" falsePattern="no"/> |
|
<datatype-datetime/> |
Format: yyyy-MM-ddThh:mm:ss[.sss][Z][+-]hh:mm] |
<datatype-datetime pattern="yyyy-MM-dd HH:mm:ss/> |
Corresponds to: <datatype-datetime pattern="yyyy-MM-dd HH:mm:ss" timezone=UTC"/> |
<datatype-datetime pattern="yyyy-MM-dd HH:mm:ss" timezone="Europe/Berlin"/> |
|
<datatype-embeddedimage> |
Use this data type if you want to transfer graphics that are to be embedded in a mailing. |