HtmlEditor.DefaultAssetLocation Property
Gets or sets the URL to a location in this site collection that is added to the top of the "Look In" section of the Asset Picker dialog box when selecting a link URL.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property DefaultAssetLocation As String
Get
Set
'Usage
Dim instance As HtmlEditor
Dim value As String
value = instance.DefaultAssetLocation
instance.DefaultAssetLocation = value
public string DefaultAssetLocation { get; set; }
Property Value
Type: System.String
Defaults to String.Empty.
Remarks
This URL should begin with either "~SiteCollection/" or "~Site/" followed by the relative URL to the desired Windows SharePoint Services location. If this location URL refers to a valid Windows SharePoint Services location that the authoring user has access to, it will be displayed in the "Look In" section on the left of the Asset Picker dialog box when it is launched to select a link URL.