Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to retreive an image from a app web SharePoint library?

$
0
0

I need to retrieve an image from a sharepoint library from code running (behind) an application page in an autohosted remote web application. I am able to query the library and find the fileref ok.. but get an error trying OpenBinaryDirect.

FileInformation fileInfo = Microsoft.SharePoint.Client.File.OpenBinaryDirect(_context, fileRef + "?noredirect=true");


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>