0

I am trying to attach a file using IE9 on a sharepoint environment on my custom webpart.

It seems that IE9 does not support some javascript API and this way I can't save my attachment...

I was searching for any plugin for doing this but I can't :(

Does anyone knows if there is a way to call the default "Attach a file" page shown on edit mode of a default edit form when clicking on "Attach a file" ribbon?

I am on a sharepoint online environment.

  • IE9 does not support the FileReader API. You'll have to use a plugin that uses flash or something similar, as described in this SO question. – wjervis Apr 1 '15 at 15:53
  • No other option? Is there any way to open the default Add attachment screen of a list item? – leonardo Apr 1 '15 at 16:40
  • I've made some search on the internet and it seems that I'll need to handle the file attached on the server side... here is the thing: Will I be able to do so in sharepoint online environment? – leonardo Apr 2 '15 at 12:17
  • You can utilize REST (or JSOM) to upload files. You just need a way to read the files without FileReader. Is it possible to upgrade to IE10/11? Microsoft will be dropping support for IE9 in January 2016. – wjervis Apr 2 '15 at 12:32
  • I know that wjervis, the problem is that my client still uses the IE9 as browser and upgrade it isn't an option at this time... – leonardo Apr 2 '15 at 13:00

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.