We were using an Iframe, then we started to use the API for Google Drive. We want to allow users to create a Google Doc from within our system w/o leaving our application. Does anyone know if this is possible?
Asked
Active
Viewed 89 times
0
-
Are you asking for creating a new file inside of an iframe? – Burcu Dogan Jul 15 '13 at 10:54
-
The answer to the question as asked is 'yes'. I suspect the question could benefit from some more detail. – pinoyyid Jul 15 '13 at 14:34
1 Answers
0
Insert a new file with one of the Google Docs mimeTypes and wait for the response.
POST https://developers.google.com/drive/v2/reference/files/insert
{ "mimeType": "application/vnd.google-apps.document" }
Once response arrives, it'll contain an attribute called embedLink
. Use embed link on iframe.
All available Google Docs mime types are on https://developers.google.com/drive/mime-types

Burcu Dogan
- 9,153
- 4
- 34
- 34