InsertFieldInvoke Method (Stream, String, Boolean, Boolean, String, String, String, Boolean) Content Studio 5.7 SDK
Content Studio Web Content Management System

[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(
	Stream stream,
	string field,
	bool htmlEncode,
	bool replaceLineBreaks,
	string label,
	string labelAfter,
	string labelEmpty,
	bool enableDirectEditing
)

Parameters

stream
Type: System.IOStream
The response stream to write to. If set to null, the default response stream is used.
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

Reference