Represents a template for publishing a document. A publish template is an XML document that contains information used to automate the selection of options for a publishing request. For example, it contains the properties and security to apply to the destination document, and instructions for republishing a document, such as whether to version the existing destination document or replace it. Also, a publish template's StyleTemplate property might reference a PublishStyleTemplate object, which describes how the document is to be transformed. In IBM Content Foundation, the IBM FileNet Rendition Engine is not supported. Therefore, this class cannot be used for transform publishing. It can only be used for copy publishing or DITA publishing.

Because IPublishTemplate extends the IDocument interface, you can work with a publish template in the same way you work with a document. For example, you can version a publish template, file it into a folder, and delete it. Publish templates are usually authored in the Publishing Designer application. However, you can override certain publish options when you call the Publish or Republish method. See Publish Options XML for more information.

Namespace:  FileNet.Api.Publishing
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Interface IPublishTemplate _
	Implements IDocument, IRepositoryObject, IVersionable, IContainable,  _
	ICmHoldable, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject,  _
	IEngineObject, ICloneable
C#
public interface IPublishTemplate : IDocument, 
	IRepositoryObject, IVersionable, IContainable, ICmHoldable, IReplicable, 
	ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable
Visual C++
public interface class IPublishTemplate : IDocument, 
	IRepositoryObject, IVersionable, IContainable, ICmHoldable, IReplicable, 
	ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable
JavaScript
FileNet.Api.Publishing.IPublishTemplate = function();
FileNet.Api.Publishing.IPublishTemplate.createInterface('FileNet.Api.Publishing.IPublishTemplate');

ToggleRemarks

Metadata

Auditable: false
AllowsInstances: true
AllowsSubClasses: false
ClassDefinitionName: None
IsDependent: false
IsHidden: true
Searchable: true
StorageType: ObjectStore
SuperclassName: Document

ToggleSee Also