EPTBaseMakeDirectEditIcon Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Method for creating an direct edit icon used in web view

Namespace: ContentStudio.Site.ActiveScripting
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected void MakeDirectEditIcon(
	Stream stream,
	int docId,
	string fieldName,
	bool multiline,
	bool plaintext,
	string fieldValue,
	bool saveDraftOnly,
	XmlIndexQueryQueryDataTypes dataType
)

Parameters

stream
Type: System.IOStream
Stream to write to. Set to null for use of Response.OutputStrem
docId
Type: SystemInt32
Id for the document
fieldName
Type: SystemString
Filed name to update
multiline
Type: SystemBoolean
Tells if the field is multiline.
plaintext
Type: SystemBoolean
Tels if the field can contain rich text HTML/XHTML or just plain text
fieldValue
Type: SystemString
The content of the field
saveDraftOnly
Type: SystemBoolean
Tells if the direct edit icon shold save drafts only
dataType
Type: ContentStudio.Document.EPTXmlIndexQueryQueryDataTypes
Datatype for the field
See Also

Reference