Use the Object and Fields wizard in any provider data dictionary or create an XML file to add a new cross-reference key to define a new object mapping. The following customization file defines a new object mapping between the Role object in the Sample (source) provider and the Resource object in Gateway (destination).
Create and save this file as Sample to P6 Flexible Object Mapping Customization.xml.
<?xml version="1.0"?>
<Customization xmlns="http://xmlns.oracle.com/Primavera/PDI/Customization/V1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/Primavera/PDI/Customization/V1
http://xmlns.oracle.com/Primavera/PDI/Customization/V1/Customization.xsd">
<Name>Sample to P6 Flexible Mapping Customization</Name>
<Version>1.0</Version>
<CustomXRef>
<XRefDefinition>
<AppName>Sample</AppName>
<XRefObjectDefinition>
<AppObjectName>Role</AppObjectName>
<PDIObjectName>Resource</PDIObjectName>
<AppKeyFieldName>ElementId</AppKeyFieldName>
</XRefObjectDefinition>
</XRefDefinition>
</CustomXRef>
</Customization>