Advanced Customization > Business Logic Customization > Customizing MPMLink > Generating Assembly Representations Using Scheduler
Generating Assembly Representations Using Scheduler
When generating QuickView thumbnail, if a representation is not available for an assembly, the thumbnail will not be created for that assembly. So, it is important to schedule a publish job to generate representations when default representations are not available.
The out-of-the-box publish job MPMPublishObjectsNoRepresentation generates representations for the latest iterations of assembly parts that satisfy any of the following criteria:
Assembly parts with upstream equivalent links. Parts with self-equivalent links are not considered.
Assembly parts allocated to an operation, including operated-on parts.
Work centers and tooling.
* 
You can customize the criteria for generating representations ofassemblyparts as per business requirements. For more information, see Customizing Publish Jobs for Generating Assembly Representations and QuickView thumbnails.
The scheduler generates representations only for downstream assembly parts without owner link.
To generate representations, perform the following procedure:
1. Open Windchill Navigator and select Utilities from Site, Organizations, Projects, Products, or Libraries,
2. Under Business Administration, select WVS Job Scheduler Administration.
3. In the Schedule Job window, enter a name and description for the publishing job.
4. Select the Job Type as Publish Job.
5. Select the Job as MPMPublishObjectsNoRepresentation.
6. Specify the Start job and Job frequency details as required, and click Schedule.
After the job is executed successfully, the representations are displayed for the eligible assemblies. By default new representations are named “MPMBatch” with the description “MPMBatch Scheduler”. The name and description are configured using the following properties:
com.ptc.windchill.associativity.wvs.representationName
com.ptc.windchill.associativity.wvs.representationDescription
These properties are located at: <WT_HOME>/codebase/com/ptc/core/foundation/associativity/xconfs/associativity.properties.xconf
For more information on scheduler-based publishing, refer to WVS Job Scheduler Administration.
If an assembly is updated after generating the representation, you can regenerate the representation for that assembly by executing the MPMRePublishAllDefaultRepresentation job. Only those representations that are generated by the MPMPublishAllDefaultRepresentation job are updated. You can schedule this job as specified above and execute it as required.
Isto foi útil?