Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Because of the nature of the new app model for SharePoint Hosted apps which gives us no access to server logic, how can you possibly setup File Uploading for older browsers like IE8 that don't natively support file uploads on the client?

Typically you got around this by posting to some server logic, but there's no ability to do that in 2013 without running into access issues (due to cross domain).

Ultimately, if you could post to the _layouts/15 directory this would be a non issue, but we get forbidden errors attempting to due so because of the app/host security model.

Does anyone have any idea how you could accomplish this? Please note we can get this working no issue for IE 9 and higher, Firefox and Chrome because they support html file upload.

share|improve this question
add comment

2 Answers

We were able to get this going in IE 8 only by levering a flash uploading tool like Uploadify and placing a file in the /_layouts/15 directory that could handle the form post and upload to SharePoint.

share|improve this answer
add comment

I managed to build a solution with Plupload.

The key was to set the url parameter to {appweburl}/_layouts/15/upload.aspx?IsAJAX=1&List={ListID}&RootFolder=/Path/To/List/My/Folder

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.