Mapping MtxPrimaryEvent Fields
You can extend the MtxPrimaryEvent MATRIXX Data Container (MDC) with a custom MtxPrimaryEventExtension which can be the target of event field mappings.
To extend the MtxPrimaryEvent you create a custom MATRIXX Data Container (MDC) from MtxPrimaryEventExtension. Then you can map event fields to the new MDC and fields. When a field is populated for any event derived from MtxPrimaryEvent, it is included in the derived event.
For example, you can use a group tier to select a group source field for mapping. Assume there is a BillingAccount group tier with external ID
Main
for a custom MyGroup MDC. You can map the external ID of that group and set it in a custom MtxPrimaryEventExtension object. Data is populated for every group,
subscription and device event (such as create, modify, delete, purchase, cancel, usage, and so forth) which is linked to a group tier BillingAccount.
Added MDC:00028:What is the container's name?MyPrimaryEventExtension
Added MDC:00028:What is the container's key?-28
Added MDC:00028:What is the name of the base container (if any)?MtxPrimaryEventExtension
Added MDC:00028:What is the created schema version?3
Added MDC:00028:What is the deleted schema version?0
New MyPrimaryEventExtension field:How many fields do you want to add?1
New MyPrimaryEventExtension field:00001:What is the field's name?CustomerAccount
New MyPrimaryEventExtension field:00001:What is the field's type?string
New MyPrimaryEventExtension field:00001:What is the field's max-size?0
New MyPrimaryEventExtension field:00001:Is this field a list (y/n)?n
New MyPrimaryEventExtension field:00001:Is this field an array (y/n)?n
New MyPrimaryEventExtension field:00001:What is the created schema version?3
New MyPrimaryEventExtension field:00001:What is the deleted schema version?0
- Source Container: MyGroup
- Source Field: ExternalId
- Tier: BillingAccount
- Destination Container: MtxPrimaryEvent
- Destination Field:
MtxPrimaryEvent.MyPrimaryEventExtension:CustomerAccount
For more information about creating custom MDCs, see the discussion about adding fields to EDRs in MATRIXX Configuration.