AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPresentationTemplate.TemplateText Property

Gets or sets the template text of this Presentation Template.

string TemplateText {get; set;}

#### Property Value

A string describing the template text of this Presentation Template. The template text will determine the layout of a content item when it is published. It can contain one or more PCS tags which are part of the Publisher Template Language syntax. Refer to the Administrator Guide for AquaLogic Interaction Publisher for more details about template text and its sample values.

No exceptions will be thrown for invalid PCS tags. `IPresentationTemplateManager.ValidateTemplateText` can be used to validate the template text. An `ContentException` will be thrown if a Presentation Template contains invalid template text when `IContentItemManager.PreviewContentItem`, `IContentItemManager.PublishContentItem`, or `IPresentationTemplateManager.ValidateTemplateText` is called. Any template text modification will not be stored permanently until `Store` is called.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The Presentation Template has already been removed.

#### See Also

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