FieldMapTemplate Files (*FieldMapTemplate.XML)

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
restricted to
maxLength(60)

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
restricted to
maxLength(60)

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
restricted to maxLength(60)

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
restricted to maxLength(60)

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
See the FieldMapTemplate table

FieldMapTemplates

The name of the field map template to be used for the two applications.

GroovyFileMappingTemplate

GroovyFieldMappingTemplateType
See the GroovyFieldMappingTemplate table

FieldMapTemplates

The name of the Groovy field map template to be used for the two applications.

FieldMapTemplateType Table

Element

Type

Parents

Description

Description

string
restricted to
maxLength(255)

FieldMapTemplate

A description of the field map template.

App1BusinessObjectName

string
restricted to
maxLength(60)

FieldMapTemplate

The business object name in the guest application if different from the Gateway business object name.

App2BusinessObjectName

string
restricted to
maxLength(60)

FieldMapTemplate

The business object name in the host application if different from the Gateway business object name.

GuestBusinessObjectName

string
restricted to
maxLength(60)

FieldMapTemplate

The business object name in the guest application if different from the Gateway business object name.

HostBusinessObjectName

string
restricted to
maxLength(60)

FieldMapTemplate

The business object name in the host application if different from the Gateway business object name.

Name

string
restricted to
maxLength(60)
Minimum of 1.

FieldMapTemplate

The name of the field map template.

PDIBusinessObjectName

string
restricted to
maxLength(60)
Minimum of 1.

FieldMapTemplate

The name of the business object in the Gateway format.

Condition

ConditionType
See the ConditionType table

FieldMapTemplate

FieldMap

FieldMapType
See the FieldMapType table

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
restricted to
maxLength(255)

GroovyFieldMappingTemplate

A description of the Groovy field mapping template.

App1BusinessObjectName

string
restricted to
maxLength(255)

GroovyFieldMappingTemplate

The business object name in the guest application if different from the Gateway business object name.

App2BusinessObjectName

string
restricted to
maxLength(255)

GroovyFieldMappingTemplate

The business object name in the host application if different from the Gateway business object name.

Name

string
restricted to
maxLength(60)
Minimum of 1.

GroovyFieldMappingTemplate

The name of the groovy field mapping template.

PDIBusinessObjectName

string
restricted to
maxLength(255)
Minimum of 1.

GroovyFieldMappingTemplate

The name of the business object in Gateway format.

Condition

ConditionType
See the ConditionType table

GroovyFieldMappingTemplate

GroovyFieldMapping

GroovyFieldMappingType
See the GroovyFieldMappingType table

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
restricted to maxlength 2048

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
restricted to maxLength 2048

Condition

The script corresponding to the application designated as App2.

FieldMapType Table

Element

Type

Parents

Description

App1

string
restricted to
maxLength(60)

FieldMap

The name of the application designated as the guest.

App2

string
restricted to
maxLength(60)

FieldMap

The name of the application designated as the host.

Guest

string
restricted to
maxLength(60)

FieldMap

The name of the field map in the guest application.

Host

string
restricted to
maxLength(60)

FieldMap

The name of the field map in the host application.

PDI

string
restricted to
maxLength(60)

FieldMap

The name of the field map in the Gateway format.

GroovyFieldMappingType Table

Element

Type

Parents

Description

Direction

string
restricted to
maxLength(10)
"App1ToPDI"
"App2ToPDI"
"PDIToApp1"
"PDIToApp2"

GroovyFieldMapping

The direction of the data flow between Gateway and the applications.

SourceFields

string
restricted to
maxLength(60)

GroovyFieldMapping

The field names in the source application.

TargetFields

string
restricted to
maxLength(60)

GroovyFieldMapping

The field names in the target application.

RequireAllFields

boolean

GroovyFieldMapping

An indicator to determine if all fields are required.

Script

string
restricted to
maxLength(2043)

GroovyFieldMapping

The groovy script associated with the groovy field mapping template.

Related Topics

Appendix C: Primavera Gateway Schema Files

Data Value Mapping Files (*DVM.xml)

Event Provider Files (*EventProvider.xml)

FileConverter Files (*FileConverter.XML)

Flow Files (*Flow.XML)

FlowDefinition Files (*FlowDefinition.XML)

Data Dictionary Files (*MetaData.xml)

Provider Files (*Provider.xml)

XRefDefinition File (*xrefDefinition.xml)

DataConfiguration File (*dataConfiguration.XML)



Legal Notices | Your Privacy Rights
Copyright © 2013, 2021

Last Published Thursday, December 16, 2021