Reputation: 1779
I want to integrate google docs in web application (Angular 10) for preview, edit and save.
I have documents stored on my server. I want to preview documents using google docs which stored on my server(it can be stored on Amazon S3 or Azure etc).
I want to edit that document using google docs and save back to my server(user is logged in with google credentials with all permission).
I am aware of this : https://docs.google.com/a/[DOMINIO]/viewer?url=[FILE_URL] , but it is used for preview with 25 MB file size limitation.
Basically I need to integrate google docs for preview, edit and save documents in my web application.
Same functionality I want to achieve with Microsoft Office 365(with subscription).
How to achieve this ?
Upvotes: 5
Views: 3416
Reputation: 15377
The only way this is possible is by using a third-party storage system.
As per the help article on Edit Drive files on 3rd-party storage systems:
As an administrator, you can let users in your organization edit Google Docs, Sheets, and Slides (Google files) stored on third-party storage systems.
and:
To enable editing and collaboration, Google caches files stored on third-party servers for 30 days. While files are being cached, their content is subject to Google’s terms. Google files stored on third-party servers are subject to the terms of the third party.
In addition, Google files stored on third-party servers can be managed, controlled, removed, and exported only through the third-party provider's controls. Google Drive file-management controls, including access control, data location commitments, data loss prevention (DLP), vault retention policies, and Drive API access are not available to Google files stored on third-party servers.
You can read more information about this on the above link.
Upvotes: 2