Configuring Scheduler Jobs For Generating Assembly Representations and QuickView Thumbnails
Objective
Use the out-of-the-box customization hooks to implement logic for configuring MPMLink scheduler jobs and carrying forward visualization information for mBOM structures.
Prerequisite Knowledge
To achieve this objective, you need to understand the following:
• Basic MPMLink and BOM structure knowledge
• Basic development involving Java
• Windchill xconfmanager and delegate concepts
Solution Elements
VisualizationDataControlDelegate.java: The abstract class VisualizationDataControlDelegate is the base class for providing customization hooks. This is marked as supported. However, PTC recommends extending the supported class MPMLVisualizationDataControlDelegate for customization requirements. This abstract class provides default implementations for the methods in the interface.
OOTB configurations can be found as below (example):
The xconf for configuration: codebase/com/ptc/windchill/mpml/xconfs/mpmlink.service.properties.xconf
<Service context="default" name="com.ptc.windchill.associativity.viz.VisualizationDataControlDelegate">
<Option cardinality="singleton" requestor="wt.fc.Persistable" serviceClass="com.ptc.windchill.mpml.viz.MPMLVisualizationDataControlDelegate"/>
</Service>