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.]
Invokes the component and writes its content into the specified stream
Namespace: ContentStudio.Site.ActiveScripting.EPT
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public static void Invoke( SiteBase page, string field, bool htmlEncode, bool replaceLineBreaks, string label, string labelAfter, string labelEmpty, bool enableDirectEditing )
Parameters
- page
- Type: ContentStudio.SiteSiteBase
A reference to the running page that invokes this class. - field
- Type: SystemString
The EPT field to read from - htmlEncode
- Type: SystemBoolean
Value to indicate if the field value should be HTML encoded. - replaceLineBreaks
- Type: SystemBoolean
Value to indicate if all line breaks in the field should be replaced with an HTML line break (br) tag? - label
- Type: SystemString
Optional label before the field value, if the field value exists. - labelAfter
- Type: SystemString
Optional label after the field value, if field the value exists. - labelEmpty
- Type: SystemString
Optional label if the field value is empty. - enableDirectEditing
- Type: SystemBoolean
Value to indicate if direct editing in a WebView should be enabled.
See Also