Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPresentationTemplate Interface

`IPresentationTemplate` represents a Presentation Template in the Content Server. It has a template text and various publishing-related attributes which define the layout of a content item when it is published.

A new Presentation Template can be created using `IPresentationTemplateManager.CreatePresentationTemplate` and stored permanently using `Store`. Any field modification of the Presentation Template will not be persisted until `Store` is called.

The template text in Presentation Template is used for determining the layout of a content item when published. A publishable content item needs a Presentation Template with a valid template text and the Presentation Template needs to be attached to the Data Entry Template of the content item.

To attach a Presentation Template to a Data Entry Template, `IDataEntryTemplateManager.AttachPresentationTemplate` can be used.

An example using `IPresentationTemplate` can be found in the documentation for IPresentationTemplateManager.

A portlet can be associated with a Presentation Template directly or indirectly:
- 1) Directly - Associate a portlet with a Presentation Template by setting the portlet ID to the template.
- 2) Indirectly - Associate a portlet to one of the template's containing folders by adding the portlet ID to the folder. The folder must contain either a publishable Presentation Template or a content item that has already been associated to the same portlet. The folder can be either the folder containing the template, or any parent folder of that containing folder.

Refer to the Administrator Guide for Content Server for additional details on Presentation Template and portlet association.

For a list of all members of this type, see IPresentationTemplate Members.

public interface IPresentationTemplate

#### Requirements

Namespace: Plumtree.Remote.PRC.Content.PresentationTemplate

Assembly: edk (in edk.dll)

#### See Also

IPresentationTemplate Members | Plumtree.Remote.PRC.Content.PresentationTemplate Namespace