Export (0) Print
Expand All
Expand Minimize

RichHtmlField.AllowEmbedding property

SharePoint 2013

Gets or sets a constraint that enables embedding (IFrames) to be added when editing the field.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[BrowsableAttribute(true)]
public bool AllowEmbedding { get; set; }

Property value

Type: System.Boolean
true if embedding is allowed; otherwise, false.

When this value is set to true, IFrame embedding is supported for this HTML field by following the HTML field security rules that are specified at the site collection level. This property also determines whether the editing user interface (UI) enables these operations.

NoteNote

Embedding is only supported in fields where RichTextMode is set to FullHtml.

Show:
© 2015 Microsoft