GetLocalSharePointFileHandlerGetSharePointFileUrl Method |
Returns a URL that will return a sharepoint file upon GET request.
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.2.23
Syntax public static string GetSharePointFileUrl(
string localSharePointFileHandlerUrl,
int sharePointFileID,
bool forceDownload = false
)
Parameters
- localSharePointFileHandlerUrl
- Type: SystemString
Relative or absolute URL of the handler's ASHX file - sharePointFileID
- Type: SystemInt32
ID if the sharepoint file to return - forceDownload (Optional)
- Type: SystemBoolean
Indicates whether you want to force user to download the file upon GET request.
Return Value
Type:
StringReturns a URL that will return a sharepoint file upon GET request.
See Also