Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPublishablePresentationTemplateManager Interface

IPublishablePresentationTemplateManager is an interface for managing IPresentationTemplates that do not have an associated IDataEntryTemplate and can be published standalone (without a content item). When used with IPublishablePresentationTemplateManager, the IPresentationTemplates template text represents static content, usually HTML. Because there is no Data Entry Template nor content item associated with a publishable Presentation Template, PCS tags in the template text are not replaced at publishing time.

The following example demonstrates publishing a Presentation Template.

string templateText = "<HTML><BODY>This is static HTML content.</BODY></HTML>";
IPresentationTemplate presentationTemplate = publishablePTManager.CreatePresentationTemplate(
  containingFolder, "Publishable Presentation Template", templateText);
presentationTemplate.Store();
// If the IPresentationTemplate was attached to an IDataEntryTemplate it would not be publishable.
if(presentationTemplate.Publishable)
{
  publishablePTManager.PublishPresentationTemplate(presentationTemplate);
  // Retrieve the URL via: presentationTemplate.PublishURL;
}

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

public interface IPublishablePresentationTemplateManager : IPresentationTemplateManager

Requirements

Namespace: Plumtree.Remote.PRC.Content.PresentationTemplate

Assembly: edk (in edk.dll)

See Also

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