Export (0) Print
Expand All

BaseRichField.DefaultAssetLocation property

Gets or sets the server-relative URL string to the default location in SharePoint Server from which to add links to this control.

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

[BrowsableAttribute(true)]
public string DefaultAssetLocation { get; set; }

Property value

Type: System.String
Server-relative URL string to the default location in SharePoint Server from which to add links to this control. Default value is an empty string.

This URL should begin with either "~SiteCollection/" or "~Site/" followed by the relative URL to the desired location. If this URL refers to a valid location and one to which the authoring user has access, the Look In section on the left side of the Asset Picker dialog box displays the URL.

Reference

[P:Microsoft.SharePoint.Publishing.WebControls.RichImageField.DefaultAssetImageLocationP:Microsoft.SharePoint.Publishing.WebControls.RichHtmlField.DefaultAssetImageLocation]

Community Additions

ADD
Show:
© 2014 Microsoft