GetSharepointFile page

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

The GetSharePointFile.aspx page is a special page located under the ~/CMSModules/Sharepoint/CMSPages directory. The correct URL to access the page looks like the following:

 

~/ CMSModules/Sharepoint/CMSPages/GetSharePointFile.aspx?server=server_name&name=Images/Sunset.jpg

 

It downloads the file from SharePoint server and sends it further to the user. Credentials configured in Site Manager -> Settings -> Microsoft SharePoint are used for authentication to the web service. You are able to control Content-Disposition HTTP header using the disposition query parameter.

 

For images, it supports maxsidesize, width and height parameters to control the image size. Kentico CMS cache is used for images, you can configure it in Site Manager -> Settings -> website -> Cache images (minutes).

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?sharepoint_example_getsharepointfilepage.htm