By Augusto Goncalves (@augustomaia)
This is actually based on previous sample, Forge Box Viewer, posted a couple weeks ago. Now this new version implements the integration with Google Drive. But there are some interesting differences: Drive can host and edit files, therefore some documents don't have extension (such as .ppt or .doc), but in any case the Model Derivative cannot translate them.
Try the Forge Google Drive Viewer and check the source code here.
You'll need a Google API Key, check their Developer API Console. As this sample access files and user profile (see scope here), make sure to active Google Drive & Google People APIs. Google endpoint will return an error if the scopes are not properly set.
Comments
You can follow this conversation by subscribing to the comment feed for this post.