I get files from a document library that contains all kind of files and documents. I retrieve the files with LinkingUrl

foreach (File file in fileCol)
      SpFileInfo currentFile = new SpFileInfo();    
      currentFile.FileUrl = file.LinkingUrl;   <-----------------

The LinkingUrl works for Office document like Word, PowerPoint, Excel and so on. But how can I get the links to the other files? The links to other files just links straight to the apps website.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.