Advanced Integration Object Modeling
Some modeling tasks require configuration via ImpEx or Meta API instead of Backoffice.
-
Linking an owner attribute between Customer and Address
- Creating a relationship between Order and Customer
Modeling an Owner Attribute for Customer and Address
Use either ImpEx or the Meta API to model the owner attribute to link the Customer and Address Integration Objects.
Context
Because Backoffice does not support modeling of the owner attribute via the Integration UI Tool, use either ImpEx or the Meta API instead.
Modeling via ImpEx
Procedure
INSERT_UPDATE IntegrationObject; code[unique = true]; integrationType(code) ; OutboundCustomer; INBOUND INSERT_UPDATE IntegrationObjectItem; integrationObject(code)[unique = true]; code[unique = true]; type(code); root[default = false]; itemTypeMatch(code) ; OutboundCustomer ; Address ; Address ; ; ; ; OutboundCustomer ; Customer ; Customer ; true ; ; INSERT_UPDATE IntegrationObjectItemAttribute; integrationObjectItem(integrationObject(code), code)[unique = true]; attributeName[unique = true]; attributeDescriptor(enclosingType(code), qualifier); returnIntegrationObjectItem(integrationObject(code), code); unique[default = false]; autoCreate[default = false] ; OutboundCustomer:Address ; publicKey ; Address:publicKey ; ; true ; ; OutboundCustomer:Address ; owner ; Address:owner ; OutboundCustomer:Customer ; ; ; OutboundCustomer:Customer ; uid ; Customer:uid ; ; true ; ; OutboundCustomer:Customer ; addresses ; Customer:addresses ; OutboundCustomer:Address ; ;
Modeling via Meta API
Procedure
Creating a Relationship Between Order and Customer
Configure an attribute for a specified user type, such as the Customer Integration Object’s customerID attribute.
Context
The Order Integration Object is associated with the User Integration Object, but Customer is a subtype of User. Therefore, to use a Customer attribute such as customerID, create that relationship using either ImpEx or the Meta API.
The following scenarios use an example Integration Object called MKTOutboundOrderTest. The steps assume that the Integration Object is already created and available in Backoffice.

