An alternative approach is to generate the mapping from a spreadsheet, which is probably the best approach. The authoring schema still must be generated and can be initially created from the publish schema as described above.
An example spreadsheet can be found in the delivered product files. This is the one that is used to define the retrieve mapping for the line list application. The file is called 05PP-PAMappings.xls and is found in the default product folder installed with the program.
There is a button to generate the named files on the README sheet and separate sheets for defining the mapping as follows:
ClassDefMapping
This is used to define the class mapping. Enter the class definition names in the relevant columns to define the mapping.
InterfaceDefMapping
This is used to define the interface mapping including IObject. All mapped interfaces need to be realized by their classes in the tool schema as defined next.
RealizesMapping
All mapped interfaces must be realized by their classes in the tool schema.
PropertyDefMapping
Properties on interfaces are mapped as above.
RelDefMapping
The relationship definitions are mapped as above. End 1 is set to True if the same objects are at End 1 on the relationship definition in both the authored and published schema.