Creates a new IPresentationTemplate
.
null
. null
but the text can be empty. There is no limit on the length of the template text. An IPresentationTemplate
that is not yet persisted. Call IPresentationTemplate.
Store to persist the template.
IPresentationEntryTemplate.Store
needs to be called to persist a newly-created Presentation Template, or any modification to the Presentation Template.
InvalidOperationException
will be thrown if the containing folder has not been stored. The following is an example of creating an IPresentationTemplate
. string templateText = "<a href=\"<pcs:value property=\'homepage.location\'></pcs:value>\">"; IFolder rootFolder = folderManager.GetRootFolder(); IPresentationTemplate presentationTemplate = presentationTemplateManager.CreatePresentationTemplate(rootFolder, "New Presentation Template", templateText);
Exception Type | Condition |
---|---|
InvalidOperationException | The specified folder has not yet been stored or has already been removed. |
ArgumentException | The name is an empty string or longer than 255 characters. |
IPresentationTemplateManager Interface | Plumtree.Remote.PRC.Content.PresentationTemplate Namespace