Personnalisation avancée > Business Logic Customization > Customizing MPMLink > Customizing Publish Jobs for Generating Assembly Representations and QuickView Thumbnails
Customizing Publish Jobs for Generating Assembly Representations and QuickView Thumbnails
The publish jobs MPMPublishObjectsNoRepresentation and MPMRePublishAllDefaultRepresentation generate representations for assembly parts, and MPMGenerateQuickViewLatestIterationAllRep and MPMRegenerateQuickViewLatestIterationAllRep generate QuickView thumbnails for assembly parts as per the specified criteria. For information on the jobs, see Generating Assembly Representations Using Scheduler, Generating QuickView Thumbnails Using Scheduler.
You can customize the jobs to generate representations and thumbnails to suit your business needs by configuring the property com.ptc.windchill.associativity.wvs.scheduler.supportedCriteriaTypes. The property is available in <WT_HOME>/codebase/com/ptc/core/foundation/associativity/xconfs/associativity.properties.xconf. The out-of-the-box values of this property—EQUIVALENCE, MPMOPERATION, and MPMRESOURCE correspond respectively to the criteria—assembly parts with upstream equivalent links, assembly parts allocated to an operation, and work centers and tooling. You can remove the property for the criterion that should be ignored by the publish job.
<AddToProperty name="com.ptc.windchill.associativity.wvs.scheduler.supportedCriteriaTypes" value="EQUIVALENCE"/>
<AddToProperty name="com.ptc.windchill.associativity.wvs.scheduler.supportedCriteriaTypes" value="MPMOPERATION"/>
<AddToProperty name="com.ptc.windchill.associativity.wvs.scheduler.supportedCriteriaTypes" value="MPMRESOURCE"/>
Additionally, you can use customization hooks to implement logic for configuring MPMLink scheduler jobs and carrying forward visualization information for mBOM structures. For more information, see Configuring Scheduler Jobs For Generating Assembly Representations and QuickView Thumbnails.
Est-ce que cela a été utile ?