Using files.get.exportLinks to export google doc file of size > 10MB

15 views
Skip to first unread message

ViKi

unread,
Aug 22, 2019, 6:08:06 AM8/22/19
to Google Drive API and SDK
Hi Everyone,

I am creating an addon for Google Docs. One of the use cases of the addon is to export a Google Doc file into .docx format. The most obvious approach is to use the files.export API. But I realized that it has a limit of 10MB on the export size.

After few researches, i came across the exportLinks attribute. This contains links for all the supported formats that a document can be exported to. This helped me to export a Google Doc file of upto 50MB to a .docx file.

But, Is this a reliable way to export the Google Doc file? Would be helpful if you guys give some direction on this.

Thanks,
ViKi
Reply all
Reply to author
Forward
0 new messages