EPMPostPublishDelegate
The EPMPostPublishDelegate generically handles any authoring application.
Once publishing of an EPMDocument is complete and a representation is stored, the EPMPostPublishDelegate creates a Creo View archive file (PVZ) of the representation’s content and stores the archive to a new EPMDocument. This provides the ability to insert the new EPMDocument into an Arbortext Dynamic Document structure and view the lightweight data in the Arbortext Editor.
* 
Beginning at Windchill 10.2 M020, when the EPMPostPublishDelegate is used with Positioning Assembly or Extended Positioning Assembly representations, all the branch links in the PVS file is resolved and the content files they refer to is included in the archive.
Additionally, any markups and annotations can be used in the Arbortext Editor and subsequently published to provide tightly controlled, lightweight figures/illustrations in technical publications that are tied to real modeled CAD data. Similar to the DefaultPostPublishDelegate, a PublishedContentLink is maintained between the data and the lightweight data objects for use with Arbortext Editor.
The tables below list the valid <post-publish> parameter names for the EPMPostPublishDelegate and describes how each parameter is used.
Required Parameters
The following parameters are required for the EPMPostPublishDelegate class.
Parameter Name
Definition
delegate
Must be com.ptc.wvs.server.publish.EPMPostPublishDelegate.
name
The Name of the Object that the PostPublishDelegate is to create/iterate. The Name must be unique among all Objects of its Type in order to guarantee that the delegate finds the right Object to iterate.
cad-authoring-application
The Authoring Application to associate with the EPMDocument to be created.
Optional Parameters
The following parameters are optional for the EPMPostPublishDelegate class.
Parameter Name
Definition
number
The number of the object that the PostPublishDelegate is to create/iterate. If specified, the Number must be unique among all Windchill Objects of this Type. If not specified, the Number is automatically generated.
type
The type of object that the PostPublishDelegate is to create. If specified, the Type can be specified by its Logical Identifier and must be a soft-type of wt.doc.WTDocument. If not specified, the EPMPostPublishDelegate creates a wt.epm.EPMDocument.
description
Description of the EPMDocument.
container-oid
The object identifier string of the container to use for initial creation of the EPMDocument.If this value is not specified, container-name is checked; if both are not specified, the EPMDocument is placed in the same context as the EPMDocument being published.
container-name
The Path (see example below) to the container or the name (string value) of the container to use for initial creation of the EPMDocument. If a name is used and that name does not exist, or there is more than one container with that name, Post-publishing is stopped and an error message is displayed. Container-name is only checked if container-oid is not set. If this value and container-oid are not specified, the EPMDocument is placed in the same context as the EPMDocument being published.
Example: /wt.inf.container.OrgContainer=PTC/wt.projmgmt.admin.Project2=TestProj
content-description
A description for the content of the EPMDocument.
lifecycle-template
The life cycle template to associate with the EPMDocument.
lifecycle-state
The life cycle state to associate with the EPMDocument.
cad-type
If not specified, the EPMPostPublishDelegate uses the value PUB_CADVIEWABLE.
* 
This parameter is for advanced users only.
published-content-link
The create Published Content Link indicator creates a Published Content Link unless it is specified to the value of false.
viewable-compression
Used to determine whether viewable compression takes place when a Graphic Dynamic Document is created. The PostPublish parameter <post-publish name="viewable-compression">true</post-publish> enables viewable compression; the parameter <post-publish name="viewable-compression">false</post-publish> disables viewable compression. The default is false.
* 
See the Creo View MCAD Adapter Installation and Configuration Guide (Guide d'installation et de configuration des adaptateurs Creo View MCAD) for more information about Viewable Compression Utilities.
Est-ce que cela a été utile ?