Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the path to a custom application page for uploading files.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property CustomUploadPage As String
Get
Set
'Usage
Dim instance As SPWeb
Dim value As String
value = instance.CustomUploadPage
instance.CustomUploadPage = value
public string CustomUploadPage { get; set; }
Property Value
Type: System.String
A [System.String] containing the path and file name.
Remarks
The default page for file uploads is "_layouts/upload.aspx". If you have deployed a custom application page to handle uploads, then you can set its path and file name in the CustomUploadPage property.