Gets URL for accessing file on SharePoint server.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- connectionName
- Type: System String
Code name of SharePoint connection to be used.
- fileRef
- Type: System String
SharePoint server path to file.
- cacheMinutes (Optional)
- Type: System Nullable Int32
How long should the file be cached (after accessing the URL). Blank uses the Settings value, 0 means no cache.
- cacheFileSize (Optional)
- Type: System Nullable Int32
The maximum size of file the will be cached. Blank uses the Settings value.
- width (Optional)
- Type: System Nullable Int32
Maximum width of the image the handler should return.
- height (Optional)
- Type: System Nullable Int32
Maximum height of the image the handler should return.
- maxSideSize (Optional)
- Type: System Nullable Int32
Maximum side size of the image the handler should return.
Return Value
Type: StringURL on which the file can be accessed.
See Also