Advanced Customization > Business Logic Customization > Data Exchange using Standards in Windchill > STEP Data Exchange using EXPRESS > STEP Foundation > EXPRESS Customizations > Add a New Converter > Writing an Export Converter
  
Writing an Export Converter
1. Determine how entity or attributes in Windchill Schema is mapped to an Automotive Design (AP214) Schema.
2. Create a new converter file with name ExportWTChangeRequest2.innand place it under the <Windchill>/codebase/registry/stepdex/ap214/export/includes directory.
3. Add mapping for the object and attributes in inn file created in step 2.
Map WTChangeRequest2 entity in Windchill Schema to Versioned_Action_Request entity AP214 Schema
Map r_number attribute associated with WTChangeRequest2 entity to its counterpart Id attribute in Versioned_Action_Request.
“number” is a reserved word in EXPRESS modeling language. Hence it has been renamed to “r_number
The following code sample depicts how to map these attributes
MAP xpxmWTChangeRequest2 FOR ver_act:aim :: versioned_action_request;

FROM (wt_chnage: wnc::e_WTChangeRequest2)

WHEN TRUE;



BEGIN_MAP

LOCAL

--Local variable

END_LOCAL;



ver_act.id :=wt_change.r_number;



END_MAP;
Attribute mapping goes with the ver_act.id :=wt_change.r_number; segment.
* 
For more information on the EXPRESS Data Manager see EDMassist.
4. Register/Include the converter file in the export-specific project file (WNCTOAP214.xpxprj) as shown in the code below..
SOURCE_FILES



"WNCTOAP214.xpx" --Main file



"includes/ExportWRPart.inn"

"includes/EportEMPDocument.inn"

"includes/ExportEPMMemberLink.inn"

"includes/EportEPMDescribeLink.inn"

"includes/ExportWTChangeRequest2.inn"

"includes/ExportRepresentation.inn"

"includes/ExportWRPartDescribe.inn"

"includes/ExportWTPartReferenceLink.inn"

"includes/ExportWTPartUsageLink.inn"

"includes/ExportEPMReferenceLink.inn"

"includes/ExportContentItem.inn"

"includes/AP214UnitValueProcessor.inn"

"includes/ExportOrganizationName.inn"

"includes/ExportHandlePropertyDefinition.inn"

"includes/ExportGlobalInstanceFunctions.inn"

"./../ includes/export/ExportBusinessFields.inn"

"./../ includes/StringUtils.inn"

"./../ includes/AggregateUtils.inn"

"./../ includes/DateTimeUtil.inn"

"./../ includes/MesurableUnitsUtil.inn"



END_SOURCE_FILES