Content Studio Web Content Management System
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
[This is preliminary documentation and is subject to change.]
Inserts a document using Server.execute method.
Namespace: ContentStudio.Site.ActiveScripting.Document
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public static void Invoke( Stream stream, int documentId, int presentationTemplateId, SiteBaseCS_EditIconTypes editIcon )
Parameters
- stream
- Type: System.IOStream
Stream to write to. Set to null to write to the current response stream - documentId
- Type: SystemInt32
Document ID to insert - presentationTemplateId
- Type: SystemInt32
Optional presentation template ID for an EPT document. Set to zero to use the standard presentation template defined for the EPT document. - editIcon
- Type: ContentStudio.SiteSiteBaseCS_EditIconTypes
Tells which edit icon that should be displayed
See Also