進階自訂 > Windchill ESI Customization > Windchill ESI Customization—SAP > Adding Attribute to Enterprise Data > Modify ESI Response Meta Info file to render newly added attribute
Modify ESI Response Meta Info file to render newly added attribute
Modify <WindchillHome>\codebase\com\ptc\windchill\esi ESIResponseMetaInfo to add Safety Stock element.
<!-- ESI Common Enterprise Data Mapping -->
<esi:Map id="ESICommonEnterpriseData">
<esi:attributeMapping sourceAttribute="obid">ObjectID</esi:attributeMapping>
<esi:attributeMapping sourceAttribute="xxxx" defaultValue="com.ptc.windchill.esi.CommonEnterpriseData"> Class</esi:attributeMapping>
<esi:attributeMapping sourceAttribute="versionInfo.identifier.versionId">Version</esi:attributeMapping>
<esi:attributeMapping sourceAttribute="iterationInfo.identifier.iterationId">Iteration</esi:attributeMapping>
<esi:attributeMapping sourceAttribute="PreviousVersion">PreviousVersion</esi:attributeMapping>
<esi:attributeMapping sourceAttribute="MaterialGroup">MaterialGroup</esi:attributeMapping>
<esi:attributeMapping sourceAttribute="SafetyStock">SafetyStock</esi:attributeMapping>

</esi:Map>
這是否有幫助?