Purpose
The FieldMapTemplate files defines the field mapping templates used by two provider applications.
Schema File
FieldMapTemplate.xsd
Contents
A FieldMapTemplates element that contains the following elements:
Element | Type | Parents | Description |
---|---|---|---|
GuestAppName | string | FieldMapTemplates | The element that specifies the name of the guest application. The name should match the appropriate /MetaData/App/Name that is specified in the *MetaData.xml file |
HostAppName | string | FieldMapTemplates | The name of the host application. The name should match the appropriate /MetaData/App/Name that is specified in the *MetaData.xml file. |
App1Name | string | FieldMapTemplates | The name of the application that can be used as a host or a guest application. The name should match the appropriate /MetaData/App/Name that is specified in the *MetaData.xml file. |
App2Name | string | FieldMapTemplates | The name of the application that can be used as a host or a guest application. The name should match the appropriate /MetaData/App/Name that is specified in the *MetaData.xml file. |
FieldMapTemplate | FieldMapTemplateType | FieldMapTemplates | The name of the field map template to be used for the two applications. |
GroovyFileMappingTemplate | GroovyFieldMappingTemplateType | FieldMapTemplates | The name of the Groovy field map template to be used for the two applications. |
FieldMapTemplateType Table
Element | Type | Parents | Description |
---|---|---|---|
Description | string | FieldMapTemplate | A description of the field map template. |
App1BusinessObjectName | string | FieldMapTemplate | The business object name in the guest application if different from the Gateway business object name. |
App2BusinessObjectName | string | FieldMapTemplate | The business object name in the host application if different from the Gateway business object name. |
GuestBusinessObjectName | string | FieldMapTemplate | The business object name in the guest application if different from the Gateway business object name. |
HostBusinessObjectName | string | FieldMapTemplate | The business object name in the host application if different from the Gateway business object name. |
Name | string | FieldMapTemplate | The name of the field map template. |
PDIBusinessObjectName | string | FieldMapTemplate | The name of the business object in the Gateway format. |
Condition | ConditionType | FieldMapTemplate |
|
FieldMap | FieldMapType | FieldMapTemplate | The name of the field map defined in the field map template. A field map template can contain multiple field maps. |
GroovyFieldMappingTemplateType Table
Element | Type | Parents | Description |
---|---|---|---|
Description | string | GroovyFieldMappingTemplate | A description of the Groovy field mapping template. |
App1BusinessObjectName | string | GroovyFieldMappingTemplate | The business object name in the guest application if different from the Gateway business object name. |
App2BusinessObjectName | string | GroovyFieldMappingTemplate | The business object name in the host application if different from the Gateway business object name. |
Name | string | GroovyFieldMappingTemplate | The name of the groovy field mapping template. |
PDIBusinessObjectName | string | GroovyFieldMappingTemplate | The name of the business object in Gateway format. |
Condition | ConditionType | GroovyFieldMappingTemplate |
|
GroovyFieldMapping | GroovyFieldMappingType | GroovyFieldMappingTemplate | The name of the field map defined in the field map template. A field map template can contain multiple field maps. |
ConditionType Table
Element | Type | Parents | Description |
---|---|---|---|
App1Fields | string | Condition | The fields associated with the application designated as App1 which can be the source or destination application. |
App1Script | string | Condition | The script corresponding to the application designated as App1. |
App2Fields | string | Condition | The fields associated with the application designated as App2 which can be the source or destination application. |
App2Script | string | Condition | The script corresponding to the application designated as App2. |
FieldMapType Table
Element | Type | Parents | Description |
---|---|---|---|
App1 | string | FieldMap | The name of the application designated as the guest. |
App2 | string | FieldMap | The name of the application designated as the host. |
Guest | string | FieldMap | The name of the field map in the guest application. |
Host | string | FieldMap | The name of the field map in the host application. |
PDI | string | FieldMap | The name of the field map in the Gateway format. |
GroovyFieldMappingType Table
Element | Type | Parents | Description |
---|---|---|---|
Direction | string | GroovyFieldMapping | The direction of the data flow between Gateway and the applications. |
SourceFields | string | GroovyFieldMapping | The field names in the source application. |
TargetFields | string | GroovyFieldMapping | The field names in the target application. |
RequireAllFields | boolean | GroovyFieldMapping | An indicator to determine if all fields are required. |
Script | string | GroovyFieldMapping | The groovy script associated with the groovy field mapping template. |