![]() Now just create a new Google Drive document.Set the client id and client secret values with the one you got on the previous step.In the OAuth2 Service providers section, click on the Modify button of the googledrive service provider. ![]() In the Administration, go to Cloud Services > Service providers.Install the package Nuxeo Live Connect if it is not already installed.For Authorized redirect URIs set the following URL, adapting the hostname and port to your case: The console redirects you to a page where you can see the client id and secret id values.For Authorized JavaScript origins set the URL of your server.This is what is displayed when the user authenticates through Google.Ĭreate a new OAuth Client ID: In APIs & auth > Credentials click on Create credentials and select OAuth client ID. Edit your consent screen: In API Manager > Credentials click on OAuth consent Screen, fill the product name (the name of your application).Enable Drive API: In Library > Google Apps APIs click on Drive API and then on the Enable button at the top of the page.On the right of Google APIs logo, click on selector in order to create a new project.Step 1: Preparing your application accounts on the Google developer console Configuration Setting Up Live Connect for Google Drive Their thumbnail is provided by the provider (when feature is available). They are displayed in search results like a Nuxeo document. Live Connect documents can be searched in the Nuxeo Platform like any other document: their content is indexed in the platform, as well as their metadata. The table below shows the available features for each default implementation. Native versioning: When a version of the document is created in the Nuxeo Platform, a versioning order is sent to the backend so as to make a version of the file on the backend and make sure to be able to get back the file in the future.ĭepending on the backend capabilities of the provider, not all features are available.Update of the document: If a document is updated on the backend, the reference will be updated (full-text index, thumbnail, filename.).Apps link: Links that can be used to edit the file in the cloud.Thumbnail generation, using provider's thumbnail.File preview, using native provider's preview.File conversion in PDF, using the provider's conversion system: When a PDF conversion is asked for a Live Connect file, the user's browser is redirected to the provider's direct URL for getting the PDF version.Full-text indexation: The text of the content is extracted and sent to the Elasticsearch index so as to be able to perform native Nuxeo Platform search using NXQL and standard search screens of the UI.File download: File download is made by redirecting the user's browser to the native download URL of the considered backend.Live Connect provides a set of features described below. Live Connect is designed to allow many implementations. Your application based on the Nuxeo Platform can provide the users with a direct link to the SaaS applications that you can use for editing Google Drive files (Google Docs, Office 365, Pixlr, etc.). Live Connect for Google Drive also brings the "Cloud Edit" mode. This allows the user to benefit from thumbnailing service, full text, conversions, etc. Files remain in the cloud but they are referenced in the Nuxeo repository as if they were stored within it. Live Connect allows you to create a content application that handles cloud files (Google Drive, Box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |