Customization Points
Extendable classes
Certain Windchill ESI service properties control the names of the classes used for rendering. By modifying these properties, a customizer can integrate specialized implementations. For example, Windchill ESI classes described in the Publishing CNs section of this document could be extended and specified in Windchill ESI service properties. Customizers may also modify the logic for rendering Change Orders by providing their own specialized classes.
These classes may extend and override the default implementation, or these classes may simply extend the abstract base class BasicESIRenderer. The following classes are designed to permit extensions by customizers:
ESIECNHeaderRenderer
Service Property name: com.ptc.windchill.esi.rnd.ESIRenderer
Default values of attributes of the <Option> element: cardinality= duplicate
requestor=”wt.change2.WTChangeOrder2”
selector=”ECNHEADER”
serviceClass=”com.ptc.windchill.esi.ecn.ESIECNHeaderRenderer”
Customization point to render Change Header as change in ESI Response This class now has following API that can be overrinder to render change header as changed in ESI response.
hasChanged(WTChangeOrder2 changeOrder, ESITarget target)
Supported API can be overridden to return ‘true’ value if WTChangeOrder2 object is changed from previously publishe WTChangeOrder2 to render it as changed in ESI response.
ESIWTChangeOrder2Renderer
Service Property name: com.ptc.windchill.esi.rnd.ESIRenderer
Default values of attributes of the <Option> element:
cardinality=“duplicate”
requestor=”wt.change2.WTChangeOrder2”
serviceClass=”com.ptc.windchill.esi.ecn.ESIWTChangeOrder2Renderer”
Configurable Options
Windchill ESI preferences control several configurable options for Windchill ESI CN support. Some of the options are:
Define the name of the Info*Engine task to execute when obtaining CN information from the Windchill Adapter.
Preference name: Query Change Notice Task
Default value: com/ptc/windchill/esi/QueryObject.xml
Define whether or not the ESI Response Generator should create a CN automatically and associate it to the business object being published when generating the response message.
Preference name: Automatically Generate Change Notice
Default value: No
See section Customization Points for the other options that provide Windchill ESI CN support.
There are several configurable attributes on the distribution target that impact the contents of the ESI response message when publishing an ECN. For more information, see Attributes Pertaining to a Change Notice.
* 
Certain attributes on the distribution target other than those listed in Change Notice section can impact the contents of the ESI response message when the CN being published has one or more option sets as resulting objects, or when a resulting object has an assigned option set. Publishing of Option Set and Local Choice Rule is supported only when ESI Options and Variants is installed however, at 11.0 release, integration of Options and Variants to SAP is not supported.
這是否有幫助?