lundi 23 mars 2015

How to get SP.File from _layouts/.../images/

I have to implement file copying, in some case i need to copy file using CSOM (for. ex. /_layouts/15/images/itgen.png - default small list icon) into my library. What i have tried is:



  • get by SP.Web.getFileByServerRelativeUrl()

  • XMLHttpRequest/jQuery.get - but IE 9 does not support Blobs.


Is there any another way to do that? Thanks for any help!


Aucun commentaire:

Enregistrer un commentaire