TransformationHelper GetSharePointFileUrl Method Kentico 8.1 API Reference
Gets URL for accessing file on SharePoint server.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

connectionName
Type: OnlineSystem String
Code name of SharePoint connection to be used.
fileRef
Type: OnlineSystem String
SharePoint server path to file.
cacheMinutes (Optional)
Type: OnlineSystem Nullable OnlineInt32 
How long should the file be cached (after accessing the URL). Blank uses the Settings value, 0 means no cache.
cacheFileSize (Optional)
Type: OnlineSystem Nullable OnlineInt32 
The maximum size of file the will be cached. Blank uses the Settings value.
width (Optional)
Type: OnlineSystem Nullable OnlineInt32 
Maximum width of the image the handler should return.
height (Optional)
Type: OnlineSystem Nullable OnlineInt32 
Maximum height of the image the handler should return.
maxSideSize (Optional)
Type: OnlineSystem Nullable OnlineInt32 
Maximum side size of the image the handler should return.

Return Value

Type: OnlineString
URL on which the file can be accessed.
See Also