CompanionCompanion
Companion for Delivery
Companion for Business
Companion for Integration
Contact us
Log out
Companion for Delivery
Companion for Business
Companion for Integration
Contact us
  • Companion for Integration

    • Introduction
    • Getting Started
    • Configuration
    • Excel templating
    • How it works
  • YAML Configuration

    • Principles
    • Syntax
    • Validation
  • Custom Functions

    • Summary
    • arrayToJSON
    • bool
    • concatValueAndUnit
    • convertUnit
    • currentContextId
    • exportTime
    • eval
    • firstNonEmpty
    • getContextName
    • getEvents
    • getLastEventTime
    • getReferencesByAttributeGroup
    • getStoredValue
    • getWorkspaceId
    • hash
    • hasStoreKey
    • if
    • integer
    • join
    • mergeInheritedValues
    • multiValuesToJSON
    • number
    • nodeList
    • order
    • resolveUnitLabel
    • serializeAssetPushLocationsToJSON
    • serializeAttributeLinksToJSON
    • serializeContextReferenceToJSON
    • serializeContextReferencesToJSON
    • serializeContextValuesToJSON
    • serializeDataContainerToJSON
    • serializeDataContainersToJSON
    • serializeListOfValueValuesToJSON
    • serializeReferencesToJSON
    • serializeReferenceToJSON
    • serializeValuesToJSON
    • store
    • toXML
    • uppercase
  • Execution

    • Summary
    • Composite
    • From STEP
    • Standalone
    • Performance statistics
  • Configuration

    • ActiveMQ extension
    • Amazon AWS extension (SNS, SQS, Kinesis, S3)
    • ElasticSearch/OpenSearch extension
    • File extension (Excel, CSV, JSON, XML, JSONL, XMLL)
    • Kafka extension
    • Kafka Core extension
    • MongoDB/Cosmos DB extension
    • SQL extension
    • REST extension
    • Google Pub/Sub extension
  • c4i SaaS

    • Introduction
    • Managing jobs
    • Managing executions
    • Managing users
    • Changelog
  • Changelog

    • Core features changelog
    • ActiveMQ extension changelog
    • Amazon AWS extension changelog
    • Composite extension changelog
    • ElasticSearch extension changelog
    • File extension changelog
    • Kafka extension changelog
    • Kafka Core extension changelog
    • MongoDB/Cosmos DB extension changelog
    • SQL extension changelog
    • REST extension changelog
    • Google Pub/Sub extension changelog

Companion for Integration - STEP configuration

Standard OIEP configuration:

Example of event triggering method for a DELTA OEIP:

Standard OIEP configuration

Example of selection of data to be exported:

Standard OIEP configuration

Define output XML format and custom mappings

Define output XML format and custom mappings

note that Attribute and Unit definitions are mandatory

Configure connection to database and other target

Example of MongoDB target configuration:

Configure database connection

Example of Companion for integration YML configuration file

This configuration will be provided as a C4I-YAML asset content.

- Product[@UserTypeID="SalesItem"]:
    product[id]:
      - ./@ID: id
      - Name/text(): name
      - Values/Value[@AttributeID="height"]/text(): height.value
      - c4i:resolveUnitLabel(string(Values/Value[@AttributeID="height"]/@UnitID)): height.unit
      - c4i:concatValueAndUnit(Values/Value[@AttributeID="height"], "DISPLAY_UNIT_LABEL"): height.format
      - Values/Value[@AttributeID="date"]/text(): date
      - c4i:serializeValuesToJSON(Values, "DISPLAY_LOV_VALUE_ID"): attributes
      - c4i:multiValuesToJSON(Values/MultiValue(@AttributeID="AT_TEXT_LIMITED"]/Value/text()): multivalues
      - c4i:serializeReferencesToJSON(., "BY_TYPE"): references
Last Updated: 7/31/23, 2:04 PM
Prev
Getting Started
Next
Excel templating