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"
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 a change in ESI response
This class now has the following API that can be overridden to render the 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 published 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. Refer to the section Attributes Pertaining to a Change Notice under the topic Distribution Target Attributes in the Windchill Help Center for more details.
* 
Certain attributes on the distribution target other than those listed in the 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. See the section Publishing Option Sets for more information. Publishing of Option Set and Local Choice Rule is supported only when ESI Options and Variants is installed.
Was this helpful?