IllustrationPostPublishDelegate
IllustrationPostPublishDelegate extracts files from the published C3DI representation and stores them as separate dynamic document or document objects in Windchill. The graphic-file-type rule determines the required graphic files to be extracted from the published C3DI representation. The post-publish rule type determines the type of the document to be created. You can view the published content by navigating to New Tab > Related Objects > Published Content.
Required Parameters
The following parameters are required for the IllustrationPostPublishDelegate class.
Parameter Name
Definition
delegate
Must be com.ptc.wvs.server.publish.IllustrationPostPublishDelegate.
name
The name of the object must be the specified as {EPM NAME} in the post-publish name rule value. This sets the name of the post-published graphics document to have the same name as the graphics that are contained in the published C3DI representation.
graphic-file-type
The file extension of the files to be extracted and post-published.
Optional Parameters
The following parameters are optional for the IllustrationPostPublishDelegate 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. The Type can be specified by its Logical Identifier and it must be wt.doc.WTDocument, a subtype of wt.doc.WTDocument, Dynamic Document, or a subtype of Dynamic Document. If not specified, the IllustrationPostPublishDelegate creates a EPMDocument.
container-oid
The object identifier string of the container to use for the initial creation of the WTDocument or Dynamic Document. If this value is not specified, container-name is checked; if both are not specified, the WTDocument or Dynamic Document is placed in the same context as the Document being published.
container-name
The Path (see example below) to the container or the name (string value) of the container to use for the initial creation of the WTDocument or Dynamic Document. If a name is used and that name does not exist, or if there is more than one container with that name, then 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 WTDocument or Dynamic Document is placed in the same context as the Document being published.
Example: /wt.inf.container.OrgContainer=PTC/wt.projmgmt.admin.Project2=TestProj
folder
The folder path for the initial creation of the WTDocument or Dynamic Document.
In Windchill 10.2 M020 and later, if the folder is not specified, it uses the folder path of the representable. If the folder does not exist in the context specified, the missing folders in the path are created. For example:
To specify the root folder:/ /default/Default
* 
By default, the root folder name is not case sensitive. All subfolders names are case sensitive.
To specify a first-level folder under the root folder:/MyFolder /Default/MyFolder/default/MyFolder
To specify multi-level folders, separate the folder names with “/”:/first/second /first/scond/third/Default/first/second/Default/first/second/third
* 
Since subfolders are case sensitive, /Default/first/second specifies a different folder than /Default/First/second.
lifecycle-template
The life cycle template to associate with the WTDocument or Dynamic Document.
lifecycle-state
The life cycle state to associate with the WTDocument or Dynamic Document.
published-content-link
The create Published Content Link indicator creates a Published Content Link unless the value is specified as false.
Isto foi útil?