企业管理 > 实施 Windchill ESI > Implementing Windchill ESI in an SAP Environment > Distribution Target Prerequisites and Assumptions > Implementing Windchill ESI Services Using the build.xml and ESITargetAssignmentLink.xml Files
Implementing Windchill ESI Services Using the build.xml and ESITargetAssignmentLink.xml Files
The ESITargetAssignmentLink.xml file may be used to bulk-create the associations between Windchill business objects (such as parts) and Windchill ESI targets.
Windchill ESI targets can be assigned to parts using the Windchill ESI user interface. However, when working with large numbers of targets and parts a more convenient approach would be to specify part numbers and target systems in ESITargetAssignmentLink.xml and then run the Windchill loader to create the associations. The following are instructions on how to use this feature.
1. Navigate to \Windchill\loadFiles\esi\esiCust and modify the contents of the file ESITargetAssignmentLink.xml.
2. Execute the following command:
windchill wt.load.LoadFromFile-d <Windchill>\loadFiles\esi\esiCust\
ESITargetAssignmentLinkxml -CONT_PATH <container reference for the relevant parts>
* 
You must modify the load files with your own valid data before running LoadFromFile. To load ESITargetAssignmentLink.xml, you must have parts and Windchill ESI targets loaded already.
For example:
windchill wt.load.LoadFromFile-d Z:\Windchill\loadFiles\
esi\ESITargetAssignmentLinkxml -CONT_PATH /wt.inf.container.
OrgContainer=org1/wt.pdmlink.PDMLinkProduct=o_pro1
* 
This procedure is applicable even for other business objects such as documents, process plans and manufacturing resources such as process materials, tooling and skills.
这对您有帮助吗?