GetFileAsync() with Office.FileType.Compressed is unable to fetch file contents of .doc extension document RRS feed

  • Question

  • Hi 

    i am developing office add-in for Word and powerpoint both (desktop and online) and have used getfileAsync() api for fetching file content in bytes 

    Office.context.document.getFileAsync(Office.FileType.Compressed, { sliceSize: FileInfo.OFFICE_DEFUALT_FILE_SLICE_SIZE },

    But this doesnt fetch the file content for a .doc extension file opened in compatibiltiy mode in word 2016 on win 10

    Is this api limitation ? as for .ppt this works . 

    will changing to Office.FileType.pdf will work ?



    Monday, July 17, 2017 1:16 PM