<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Activiti Enterprise - Google Drive Integration in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-enterprise-google-drive-integration/m-p/30645#M13037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since no-one seems to know how to do this, I worked it out myself by crawling through the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;Activiti Enterprise now provides the means to save documents to a single Google Drive repository.&lt;/DIV&gt;&lt;DIV&gt;This article provides instructions on how to configure access to this for upload of documents using the Google Drive integration.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Step 1 - Generate your Google API Credentials&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;First, you need to create a set of credentials and open the google drive API.&lt;/DIV&gt;&lt;DIV&gt;To do this, follow the instructions here:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://developers.google.com/identity/sign-in/web/devconsole-project" rel="nofollow noopener noreferrer"&gt;https://developers.google.com/identity/sign-in/web/devconsole-project&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Note, you need to create credentials for a “Web Application” and you must add the “&lt;SPAN style="background-color: #f5f5f5; font-size: 12px;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.javascript_origins”&lt;/SPAN&gt; and &lt;SPAN style="color: #4b83cd;"&gt;“&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd; background-color: #f5f5f5; font-size: 12px;"&gt;googledrive.web.redirect_uris”&lt;/SPAN&gt; &lt;SPAN style="background-color: #f5f5f5; font-size: 12px;"&gt;from the activiti=app properties when requested (these must match or you will get an unauthorized error).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Step 2 : Activity-App Configuration&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Now, update the Google Drive properties in your activity-app.properties file shown below:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #f5f5f5; font-size: 12px;"&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #aaaaaa;"&gt;#&amp;nbsp;Google&amp;nbsp;drive&amp;nbsp;OAuth&amp;nbsp;configuration&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.disabled&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.auth_uri&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="https://accounts.google.com/o/oauth2/auth" rel="nofollow noopener noreferrer"&gt;https://accounts.google.com/o/oauth2/auth&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_secret&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourSecret&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.token_uri&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="https://accounts.google.com/o/oauth2/token" rel="nofollow noopener noreferrer"&gt;https://accounts.google.com/o/oauth2/token&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_email&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourEmail&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.redirect_uris&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="http://localhost:8080/activiti-app/app/rest/integration/google-drive/confirm-auth-request" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/app/rest/integration/google-drive/confirm-auth-request&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_x509_cert_url&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourCert&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_id&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourClientId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.auth_provider_x509_cert_url&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="https://www.googleapis.com/oauth2/v1/certs" rel="nofollow noopener noreferrer"&gt;https://www.googleapis.com/oauth2/v1/certs&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.javascript_origins&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="http://localhost:8080/activiti-app" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;All the settings in red above must be updated to match the credentials you created earlier.&lt;/DIV&gt;&lt;DIV&gt;Once updated, restart the application server to have the new properties read.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Step 3 - Add a Google Drive save activity to your process&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Open your process definition and drag a “Publish to Google Drive” task to your process:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;IMG __jive_id="12993" class="image-1 jive-image" name="en-media:image/png:f4e1815de6761e49ea6ee32fd2626802:none:none" src="https://connect.hyland.com/legacyfs/online/alfresco/12993_pastedImage_1.png" /&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Now, select the activity and&amp;nbsp;open the “Google Drive Destination” property. You will be presented with a panel like:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;IMG __jive_id="12991" class="image-2 jive-image" name="en-media:image/png:9f88079a2dec281bee6c6682c2b290f8:none:none" src="https://connect.hyland.com/legacyfs/online/alfresco/12991_pastedImage_2.png" /&gt;&lt;/DIV&gt;&lt;DIV&gt;Now, open the “Select Folder” and select the destination for your documents.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;New, Open the "Google Drive Content" property:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;IMG __jive_id="12992" class="image-3 jive-image" name="en-media:image/png:49d0a46889ad47ce68c0aaac95be8cee:none:none" src="https://connect.hyland.com/legacyfs/online/alfresco/12992_pastedImage_3.png" /&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Choose the content you want to upload.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Currently, I don’t believe the Metadata properties do anything.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hope this saves someone some time as it took a full afternoon to work out myself.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Greg&lt;/DIV&gt;&lt;DIV&gt;bp3‌&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2017 15:24:24 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-03-15T15:24:24Z</dc:date>
    <item>
      <title>Activiti Enterprise - Google Drive Integration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-enterprise-google-drive-integration/m-p/30644#M13036</link>
      <description>I am trying to use the Alfresco Enterprise - Google Drive integration but am unable to get it configured.The docs (here) are very unhelpful as the first thing that shows up in the destination panel is an "Account" field.I have tried to setup accounts in the endpoint and endpoint authorizations but t</description>
      <pubDate>Tue, 14 Mar 2017 17:46:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-enterprise-google-drive-integration/m-p/30644#M13036</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-03-14T17:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Enterprise - Google Drive Integration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-enterprise-google-drive-integration/m-p/30645#M13037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since no-one seems to know how to do this, I worked it out myself by crawling through the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;Activiti Enterprise now provides the means to save documents to a single Google Drive repository.&lt;/DIV&gt;&lt;DIV&gt;This article provides instructions on how to configure access to this for upload of documents using the Google Drive integration.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Step 1 - Generate your Google API Credentials&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;First, you need to create a set of credentials and open the google drive API.&lt;/DIV&gt;&lt;DIV&gt;To do this, follow the instructions here:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://developers.google.com/identity/sign-in/web/devconsole-project" rel="nofollow noopener noreferrer"&gt;https://developers.google.com/identity/sign-in/web/devconsole-project&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Note, you need to create credentials for a “Web Application” and you must add the “&lt;SPAN style="background-color: #f5f5f5; font-size: 12px;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.javascript_origins”&lt;/SPAN&gt; and &lt;SPAN style="color: #4b83cd;"&gt;“&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd; background-color: #f5f5f5; font-size: 12px;"&gt;googledrive.web.redirect_uris”&lt;/SPAN&gt; &lt;SPAN style="background-color: #f5f5f5; font-size: 12px;"&gt;from the activiti=app properties when requested (these must match or you will get an unauthorized error).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Step 2 : Activity-App Configuration&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Now, update the Google Drive properties in your activity-app.properties file shown below:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #f5f5f5; font-size: 12px;"&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #aaaaaa;"&gt;#&amp;nbsp;Google&amp;nbsp;drive&amp;nbsp;OAuth&amp;nbsp;configuration&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.disabled&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.auth_uri&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="https://accounts.google.com/o/oauth2/auth" rel="nofollow noopener noreferrer"&gt;https://accounts.google.com/o/oauth2/auth&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_secret&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourSecret&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.token_uri&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="https://accounts.google.com/o/oauth2/token" rel="nofollow noopener noreferrer"&gt;https://accounts.google.com/o/oauth2/token&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_email&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourEmail&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.redirect_uris&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="http://localhost:8080/activiti-app/app/rest/integration/google-drive/confirm-auth-request" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/app/rest/integration/google-drive/confirm-auth-request&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_x509_cert_url&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourCert&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.client_id&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff2600;"&gt;RegisterWithGoogleForYourClientId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.auth_provider_x509_cert_url&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="https://www.googleapis.com/oauth2/v1/certs" rel="nofollow noopener noreferrer"&gt;https://www.googleapis.com/oauth2/v1/certs&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333;"&gt;&lt;SPAN style="color: #4b83cd;"&gt;googledrive.web.javascript_origins&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;A href="http://localhost:8080/activiti-app" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;All the settings in red above must be updated to match the credentials you created earlier.&lt;/DIV&gt;&lt;DIV&gt;Once updated, restart the application server to have the new properties read.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Step 3 - Add a Google Drive save activity to your process&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Open your process definition and drag a “Publish to Google Drive” task to your process:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;IMG __jive_id="12993" class="image-1 jive-image" name="en-media:image/png:f4e1815de6761e49ea6ee32fd2626802:none:none" src="https://connect.hyland.com/legacyfs/online/alfresco/12993_pastedImage_1.png" /&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Now, select the activity and&amp;nbsp;open the “Google Drive Destination” property. You will be presented with a panel like:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;IMG __jive_id="12991" class="image-2 jive-image" name="en-media:image/png:9f88079a2dec281bee6c6682c2b290f8:none:none" src="https://connect.hyland.com/legacyfs/online/alfresco/12991_pastedImage_2.png" /&gt;&lt;/DIV&gt;&lt;DIV&gt;Now, open the “Select Folder” and select the destination for your documents.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;New, Open the "Google Drive Content" property:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;IMG __jive_id="12992" class="image-3 jive-image" name="en-media:image/png:49d0a46889ad47ce68c0aaac95be8cee:none:none" src="https://connect.hyland.com/legacyfs/online/alfresco/12992_pastedImage_3.png" /&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Choose the content you want to upload.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Currently, I don’t believe the Metadata properties do anything.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hope this saves someone some time as it took a full afternoon to work out myself.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Greg&lt;/DIV&gt;&lt;DIV&gt;bp3‌&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:24:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-enterprise-google-drive-integration/m-p/30645#M13037</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-03-15T15:24:24Z</dc:date>
    </item>
  </channel>
</rss>

