<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Romain Vialard on Medium]]></title>
        <description><![CDATA[Stories by Romain Vialard on Medium]]></description>
        <link>https://medium.com/@romain-vialard?source=rss-b7a188dea249------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NhFa9TpZA0GcPUk2xq2BHw.jpeg</url>
            <title>Stories by Romain Vialard on Medium</title>
            <link>https://medium.com/@romain-vialard?source=rss-b7a188dea249------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:25:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@romain-vialard/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From ChatGPTApp to GenAIApp, welcome Gemini!]]></title>
            <link>https://romain-vialard.medium.com/from-chatgptapp-to-genaiapp-welcome-gemini-83c248a3706d?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/83c248a3706d</guid>
            <category><![CDATA[google-drive]]></category>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Fri, 11 Jul 2025 14:00:34 GMT</pubDate>
            <atom:updated>2025-07-11T14:04:09.180Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>2 years ago, we released ChatGPTApp, an open-source library to easily use OpenAI models inside Google Apps Script projects:</p><p><a href="https://romain-vialard.medium.com/introducing-chatgptapp-a-new-library-for-google-apps-script-aee672b8d22a">Introducing ChatGPTApp, a new library for Google Apps Script</a></p><p>Since then, we frequently tested how Google models were performing vs OpenAI, and at some point it just made sense to rename ChatGPTApp to GenAIApp, with the ability to switch between models without any other change in the code.</p><p><a href="https://github.com/scriptit-fr/GenAIApp">GitHub - scriptit-fr/GenAIApp: About The Google Apps Script binding for Gemini and OpenAI generative AI API</a></p><p>Now with GenAIApp, you can use either Gemini (2.5 Pro &amp; Flash) or the latest OpenAI models (o3, o4-mini, gpt-4.1), write a prompt, add images, files and easily use function calling, web search and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mFnQA_DFNCKtCOmeU5Q6vQ.png" /></figure><p>For example, here’s how to send a PDF stored in Google Drive for analysis: simply use the addFile() method, enter the file ID as parameter, and that’s all! GenAIApp will retrieve the file content from Google Drive and send it as part of your request to the model:</p><pre>function summarizeFile() {<br>  GenAIApp.setGeminiAPIKey(&quot;XXX&quot;);<br>  var chat = GenAIApp.newChat();<br>  chat.addMessage(&quot;Summarize this file&quot;);<br>  // simply paste the ID of a Google Drive file you have access to, e.g., a PDF<br>  chat.addFile(&quot;your_google_drive_file_id&quot;);<br>  var result = chat.run({<br>    model: &quot;gemini-2.5-flash&quot;<br>  });<br>  console.log(result);<br>}</pre><p>What if you want to test with an OpenAI model? Simply use setOpenAIAPIKey() instead of setGeminiAPIKey(), choose the model you want, and that’s all, nothing else changes!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gN8JjfCip9OEFtJ-LKeZDA.png" /></figure><p>Folgo, a Google Workspace add-on to perform batch operations on Google Drive, such as audit, copy, ownership transfer,… now uses GenAIApp and Gemini to extract data from all PDFs in a Google Drive folder structure.</p><p><a href="https://workspace.google.com/marketplace/app/folgo_for_google_drive/665800946111">Folgo for Google Drive - Google Workspace Marketplace</a></p><p>When we first launched the Data Extraction feature in Folgo, we had to use Google Drive OCR to convert each PDF to Google Docs, then convert that to a plain text format and send the file content as part of our prompt. 😓 It was working quite well to extract specific info from similar documents (eg: folder with a list of invoices, extract date and total amount from each invoice). But now it’s so much more powerful! 🤯 You can ask pretty much any question and get the info you want in Google Sheets.</p><p>Here’s an example with a folder of candidate résumés, where we want to extract basic info such as the name and email of each candidate. But we can go further and ask it to retrieve the English level in a specific format (CEFR levels here, from A1 to C2) or check whether a candidate worked on AI projects before, asking to return the info as a boolean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GSFrb4UVW1Oi9rzRsQHUwg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7kzy797yRtoozMxDf8N8rA.png" /></figure><p>It can be easily used to categorize files, based on your own categories, get a quick description of each document, check in all signed contracts if there’s a liability cap,…</p><p>Don’t hesitate to compare this Folgo feature with the built-in “Gemini in Google Drive” feature from Google. We did some experiments and Folgo should perform way better on a folder with a lot of files or if you need to extract a lot of information with some complex requests.</p><p><a href="https://help.folgo.com/article/422-google-or-folgo-which-one-will-suit-my-needs-in-data-extraction">Gemini or Folgo: Which one will suit my needs in Data Extraction?</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83c248a3706d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing ChatGPTApp, a new library for Google Apps Script]]></title>
            <link>https://romain-vialard.medium.com/introducing-chatgptapp-a-new-library-for-google-apps-script-aee672b8d22a?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/aee672b8d22a</guid>
            <category><![CDATA[google-apps-script]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Wed, 12 Jul 2023 15:35:15 GMT</pubDate>
            <atom:updated>2023-07-12T15:35:15.458Z</atom:updated>
            <content:encoded><![CDATA[<p>Last month, <a href="https://openai.com/blog/function-calling-and-other-api-updates">OpenAI announced <strong>Function calling</strong></a>, “a new way to more reliably connect GPT’s capabilities with external tools and APIs”. <strong>Super useful </strong>❤️ and we decided to integrate that with Google Apps Script.</p><h3>ChatGPTApp, a Google Apps Script library</h3><p>The library is publicly accessible on GitHub, you can simply copy-past the code in your Google Apps Script project: <a href="https://github.com/scriptit-fr/ChatGPTApp">https://github.com/scriptit-fr/ChatGPTApp</a>.</p><p>Then it’s super simple to use:</p><ol><li><a href="https://platform.openai.com/account/api-keys">Get an API key from openAI</a></li><li>Start a new chat with ChatGPTApp.newChat(), add a message / prompt and run()</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dzh1rZHqUbep0f5JH7elYQ.png" /><figcaption>A basic use of ChatGPTApp to send a prompt to openAI and retrieve the response.</figcaption></figure><h3>Let openAI call your functions</h3><p>The real beauty though, is when you start letting OpenAI / ChatGPT call other functions in your Google Apps Script project. You could for example create a very basic function to retrieve data from a Google Sheet and another function to send emails using GmailApp… and then ask OpenAI to retrieve a list of recipients and send them a personalized email... #mailMerge 😁</p><pre>function sendCodingTipsByEmail() {<br>  ChatGPTApp.setOpenAIAPIKey(OPENAI_API_KEY);<br><br>  var getContactList = ChatGPTApp.newFunction()<br>    .setName(&quot;getContactList&quot;)<br>    .setDescription(&quot;Retrieve a list of contacts, including their name and email address&quot;);<br><br>  var sendMessageFunction = ChatGPTApp.newFunction()<br>    .setName(&quot;sendMessage&quot;)<br>    .setDescription(&quot;Send an email&quot;)<br>    .addParameter(&quot;recipientEmail&quot;, &quot;string&quot;, &quot;The email address of the recipient&quot;)<br>    .addParameter(&quot;subject&quot;, &quot;string&quot;, &quot;The email subject&quot;)<br>    .addParameter(&quot;htmlBody&quot;, &quot;string&quot;, &quot;The HTML email body&quot;);<br><br>  var resp = ChatGPTApp.newChat()<br>    .addMessage(&quot;Send a useful Google Apps Script coding tip to each of my contact.&quot;)<br>    .addFunction(getContactList)<br>    .addFunction(sendMessageFunction)<br>    .run();<br><br>  console.log(resp);<br>}<br><br>function getContactList() {<br>  return SpreadsheetApp.openByUrl(MY_CONTACTS_SS).getSheets()[0].getDataRange().getValues();<br>}<br><br>function sendMessage(recipientEmail, subject, htmlBody) {<br>  GmailApp.sendEmail(recipientEmail, subject, htmlBody, {<br>    htmlBody: htmlBody<br>  });<br>  return `Email sent to ${recipientEmail}`;<br>}</pre><p>OpenAI will see that 2 functions are available, one to retrieve my contact database, the other to send emails. And thus it will decide by itself to call the first function, retrieve the result and then call 4 times the second function… because I have 4 contacts in my spreadsheet :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iOu8OKrXS-G6qebqiR4MoA.png" /><figcaption>The ChatGPTApp library automatically log useful events, like when openAI decides to call one of your functions.</figcaption></figure><h3>… and then comes Browsing</h3><p>A very useful feature launched with the “Plus” version of ChatGPT was the ability to browse the web to get more relevant responses. And we added that to ChatGPTApp!</p><p>Sadly Google does not provide a free and unlimited API to get web search results but it’s easy to <a href="https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key">create an API key</a>. Once you have one, you can enable web browsing in the library.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*53FuMWXGPXAcNcc8A7SwjQ.png" /><figcaption>OpenAI will generate a search query, send it to Google, retrieve the first results, open the url of the most relevant result, read the content of the web page and then provide a response.</figcaption></figure><p>Thanks to this library and a few line of additional Apps Script code, you can start drafting responses to emails of your choosing, retrieve info from the web to better answer questions, summarize Gmail conversations, check attendees availability in Calendar, and whatever you want that nicely mixes the power of generative AI with the simplicty of automating actions on Google Workspace with Google Apps Script.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aee672b8d22a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Process only selected rows in scripts and add-ons]]></title>
            <link>https://romain-vialard.medium.com/process-only-selected-rows-in-scripts-and-add-ons-83f0523f4776?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/83f0523f4776</guid>
            <category><![CDATA[google-sheets]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <category><![CDATA[addons]]></category>
            <category><![CDATA[data-merge]]></category>
            <category><![CDATA[mail-merge]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Mon, 23 May 2022 15:03:17 GMT</pubDate>
            <atom:updated>2022-05-23T15:03:17.004Z</atom:updated>
            <content:encoded><![CDATA[<p>It is super easy in Google Sheets to select only specific rows, even if they are not adjacent. Simply hold down the CTRL / command key while making your selections:</p><figure><img alt="Select Non-Adjacent rows in Google Sheets" src="https://cdn-images-1.medium.com/max/1024/1*BIyo5PodpQnizmmE_apfJA.gif" /></figure><p>This can be useful to copy selected rows in another sheet, delete a bunch of rows,…</p><p>And those selections are also available in Google Apps Script via the method <a href="https://developers.google.com/apps-script/reference/spreadsheet/sheet#getactiverangelist">getActiveRangeList()</a>😍. Thus, add-ons which perform a specific action on each row in a spreadsheet can target only those selected rows.</p><h4>We have implemented this new feature in <a href="https://workspace.google.com/marketplace/app/mergo_mail_merge/91302273949?pann=b"><strong>Mergo</strong></a>, our mail merge add-on and <a href="https://workspace.google.com/marketplace/app/publigo_document_merge/677216675116?pann=b"><strong>Publigo</strong></a>, our document merge add-on.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6FcdhS_VSeqqUMT3y-qKg.png" /><figcaption>If you selected 1 or more rows, Publigo lets you generate a personalized document for those rows only or all visible rows in your sheet.</figcaption></figure><p>Until now, those add-ons would process all visible rows (they correctly detect which rows have been hidden or filtered out 🕵️) while making sure no duplicate email is sent (Mergo) and no duplicate PDF is generated (Publigo).</p><p>But often users want to perform a merge on a single or a few records only: to test with different examples / email addresses before going through the full list or because they are always using the same contact list and generate documents as needed:</p><blockquote>I have medical consultations with patients and generate a letter for them after each visit. I use several letter templates for each patient over time (first visit, surgery, first follow up, second follow up etc.). The patient details are stored in a spreadsheet. If for example a patient comes for their first follow up visit, I would click on the patient’s details in my spreadsheet, open my “First follow up” template and use Publigo to print a pdf with all the relevant fields populated automatically.</blockquote><p>This is now super easy with Mergo &amp; Publigo. 👍</p><p>For Google Apps Script developers, here is a quick snippet showing how to process only selected rows.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6b6c4d99b60221afff193357c974cdde/href">https://medium.com/media/6b6c4d99b60221afff193357c974cdde/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83f0523f4776" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mergo: Designing a template gallery in a Google Workspace add-on]]></title>
            <link>https://romain-vialard.medium.com/mergo-designing-a-template-gallery-in-a-google-workspace-add-on-ece73ed54348?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/ece73ed54348</guid>
            <category><![CDATA[addons]]></category>
            <category><![CDATA[email-marketing]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Thu, 28 Oct 2021 15:08:32 GMT</pubDate>
            <atom:updated>2021-10-28T15:08:32.574Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>About Mergo:<br>Mergo is a mail merge add-on for Google Workspace. <br>It lets you run email campaigns from Gmail, Google Sheets or Docs. <br>✍️ You can write your content directly in a Gmail draft, or use Google Docs for advanced formatting and Mergo will automatically convert the doc into an email 🪄</blockquote><p>🆕 I’ve just added a Template Gallery in Mergo!<br>Instead of starting your email from scratch, you can open the gallery and select a template: it will appear as a draft in Gmail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WikxNrwaH1fSgvPPC1aUVw.png" /><figcaption>⚠️ Currently this feature is only available to Google Workspace accounts, not gmail.com ones. ⚠️</figcaption></figure><p>It works as an internal gallery too! 👍<br>You can create new templates in Google Docs and add them to the gallery: any colleague with access to your doc will see it in the gallery (thus you can keep your template private, share it with specific teammates or make it available to your whole domain).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GNQ_mZ_Z7QoNDBpHT8m-og.png" /></figure><p>A lot of users were asking for an easy way to share their templates with coworkers or simply have a place to store &amp; reuse their own templates. It was already possible with Mergo to create a template in Google Docs, share that doc and reopen it any time you wanted to run a new campaign but <a href="https://medium.com/u/76ae5b4c56a9">Stéphane Giron</a>, <a href="https://developers.google.com/community/experts/directory/profile/profile-stephane-giron">fellow GDE</a>, convinced me to make that more user friendly. 🤔</p><p>At the same time, I was eager to find a good reason to use the new <a href="https://developers.google.com/apps-script/add-ons/concepts/widgets#grid">Grid view</a> Google released for the <a href="https://developers.google.com/apps-script/add-ons/concepts/card-interfaces">CardService</a> (the service used to build consistent and secure UIs in Google Workspace add-ons).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3kNl7TrCXSYm1_olCW8v6A.png" /></figure><p>Perfect occasion!</p><p>With the Google Drive API, I can easily retrieve a thumbnail for each template via the <a href="https://developers.google.com/apps-script/reference/drive/file#getThumbnail()">getThumbnail()</a> method, then show all those thumbnails + template title &amp; owner in a beautiful grid.</p><p>And with the <a href="https://developers.google.com/apps-script/reference/card-service/compose-action-response-builder">ComposeActionResponseBuilder</a> available in the CardService, from a simple click on a template, a draft is created and automatically displayed in your Gmail UI! 👌</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*J6MoOL4i5Gji4BTIUJ9p3A.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ece73ed54348" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Data Studio: Google Drive Images Now Showing]]></title>
            <link>https://romain-vialard.medium.com/google-data-studio-google-drive-images-now-showing-af1c4024bb21?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/af1c4024bb21</guid>
            <category><![CDATA[google-data-studio]]></category>
            <category><![CDATA[google-drive]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Tue, 18 May 2021 14:16:30 GMT</pubDate>
            <atom:updated>2021-05-18T14:48:28.629Z</atom:updated>
            <content:encoded><![CDATA[<p>I created several visualizations for Google Data Studio, to easily display your data exactly as you want, through HTML templates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*rJTAbtReNvdNggySvK5INg.png" /><figcaption>➡️ <a href="https://datastudio.google.com/s/l4ke5W-cFjU">See live example</a> ⬅️</figcaption></figure><p>Until now, for security reasons, it was not possible to display images inside this type of visualization, as documented by Google:</p><p><a href="https://developers.google.com/datastudio/visualization/issues#limitations">Limitations / Known issues | Community Visualizations</a></p><p>Indeed, if Google allows external developers to create new visualizations for everyone to use inside Data Studio, they don’t want to put your data at risk 😬 and thus block all data exchange between those visualizations and the external world 😭.</p><h3><strong>Images stored in Google Drive are now allowed </strong>🎉</h3><p>As a developer of a community visualization or as an end user of an existing visualization allowing images, you can now display images stored in Google Drive.</p><p>Best is to rely on the <strong>thumbnail URL</strong> of your Google Drive file:</p><p>1- Upload your image in Google Drive</p><p>2- Open it in a new tab and grab its ID — everything between /d/ and the next /</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6DvFVUOwU_JWV4C3SRIIsw.png" /></figure><p>3- Add this ID at the end of the standard thumbnail URL:<br>https://drive.google.com/thumbnail?sz=w800&amp;id=<strong>XXX</strong></p><p>And voilà! You can now use that image inside any Data Studio Community Viz!</p><h3><strong>Want to see a live example?</strong></h3><p>Here’s a Data Studio report you can copy:<br><a href="https://datastudio.google.com/s/vOSCFfactHM">https://datastudio.google.com/s/vOSCFfactHM</a></p><p>The Data Source is a Google Sheet with Google Drive images in column J.<br><a href="https://docs.google.com/spreadsheets/d/1WzvNt8IolcYC81KGw4KVC2FeMpscGt4BReNxpnRdIh8/edit#gid=0">https://docs.google.com/spreadsheets/d/1WzvNt8IolcYC81KGw4KVC2FeMpscGt4BReNxpnRdIh8/edit#gid=0</a></p><p>And all images are stored in this Google Drive folder:<br><a href="https://drive.google.com/drive/folders/1sp71x0SlgvBhzTPMJuc3QS-DNWpn5bRS?usp=sharing">https://drive.google.com/drive/folders/1sp71x0SlgvBhzTPMJuc3QS-DNWpn5bRS?usp=sharing</a></p><h3><strong>What do to next?</strong></h3><p>👉 <a href="https://datastudio.google.com/gallery?category=visualization&amp;search=vialard">check all the custom vizs I created for Data Studio</a></p><p>👉 <a href="https://www.scriptit.fr/home">and everything else I’m working on: mail merge add-ons, toolbox for Google Drive,…</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af1c4024bb21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy easily with the new Google Apps Script IDE]]></title>
            <link>https://romain-vialard.medium.com/deploy-easily-with-the-new-google-apps-script-ide-69343c71a889?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/69343c71a889</guid>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Mon, 14 Dec 2020 16:02:01 GMT</pubDate>
            <atom:updated>2020-12-14T16:28:29.991Z</atom:updated>
            <content:encoded><![CDATA[<p>A week ago Google announced <a href="https://workspaceupdates.googleblog.com/2020/12/google-apps-script-ide-better-code-editing.html">the availability of an improved code editor for Google Apps Script</a>. (note: this new editor isn’t yet available to all — it should be by the end of the year🤞). In this article, I’ll focus on the changes related to Versions and Deployments in Apps Script.</p><p>Depending on your needs, you can deploy your Apps Script code in many ways:</p><ul><li><a href="https://developers.google.com/apps-script/guides/web">As a Web app</a></li><li><a href="https://developers.google.com/apps-script/api/how-tos/execute">As an API</a></li><li><a href="https://developers.google.com/gsuite/add-ons/overview">As an Add-on</a></li><li><a href="https://developers.google.com/apps-script/guides/libraries">As a reusable code Library</a></li></ul><p>The new IDE makes deploying your code one of the primary actions, with the blue “Deploy” button quite visible in the UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vYgBffGftTp90l2dTrhRug.png" /></figure><p>In most cases, you will deploy your script in only 1 of the 4 ways listed above but it can be useful to deploy a script in multiple ways and the new UI lets you do that (eg: you could deploy your script as a Web app — for humans — and as an API — to let other programs exchange data with your app).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CiEpugIfLYoD9uScH-RhWg.png" /></figure><p>This is a slight change compared to what was available in the old UI. You could also deploy a script as a Web app and as an API but they were considered as 2 different deployments of your code and when you wanted to publish a new version of your code, you had to update those 2 deployments.</p><p>It added extra complexity without real benefit and the new UI greatly simplify that. BUT if you happened to like having several deployments all tight to different versions of your script, it’s still possible (<a href="https://developers.google.com/apps-script/concepts/deployments#versioned_deployments">see doc</a>).</p><h3>What’s happening to versions?</h3><p>When an update is ready to go live, simply make a new Deployment. It will create a new version of your code behind the scene and push it to your users (note: that’s not true for old add-ons, for which the version number still have to be updated in the Marketplace SDK). Of course, making a new deployment won’t affect your web app url, API or Library ID — it will remain the same 👍.</p><p>⚠️ note: as of 12/14/20 — this is only true if you first publish your script from the new IDE. For existing scripts, deploying from the new IDE will create a new deployment with a different url for your web app (<a href="https://groups.google.com/g/google-apps-script-community/c/qhiqjGabQpI">see this forum thread</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H0bnXd7zpMSoh9M_TlQgdQ.png" /></figure><p>Making a new deployment creates a new version and the previous deployment, tight to a previous version, is archived. When clicking on “Manage deployments”, you can find the list of all archived deployments corresponding to all previous versions of your script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dOU5cVnq8j8_IHVv3WTvKQ.png" /><figcaption>The Description field of a deployment in the new IDE matches the Description field of a version in the old IDE.</figcaption></figure><p>As before with versions, the Description field is not mandatory but will default to “Untitled”. A new reason to always add a description for each new deployment / version 😋.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tH-QbXZffdRXklaLNE8IRw.png" /><figcaption>The left sidebar is filled with “Untitled” because I didn’t added a description on my deployments / versions.</figcaption></figure><h3>A little bit of history</h3><p>Playing with Google Apps Script since more than 10 years now, I thought it could be interesting to make a recap of the evolution of Apps Script deployments over the years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*17aCpyvkpp-NGtanXt9ZBQ.png" /></figure><p>The first way of publishing a script, as a web app, was made available before Versions existed. It was called “Publish as service” and each update of your code was directly available to all users 😱.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*TSefzSLSR4bqNNI2I40_iA.png" /><figcaption><a href="https://mashe.hawksey.info/2012/01/tags-r/">Screenshot taken from an article in Martin Hawksey’s blog, in 2012 😋</a></figcaption></figure><p>Then Google added the ability to share scripts as <a href="https://developers.google.com/apps-script/guides/libraries">reusable libraries</a> along with the ability to create versions of your code. Not long after that, versions were also made available when deploying your script as a web app — a greatly appreciated evolution!</p><p>Add-ons made their first appearance in march 2014 and came with versioning right away, a great move as add-ons made scripts available to a way bigger audience.</p><p>In 2015, Google launched a new framework to build add-ons, starting with Gmail and along with that came the notions of <a href="https://developers.google.com/apps-script/concepts/deployments">Deployments</a> and the <a href="https://developers.google.com/apps-script/concepts/manifests">project Manifest</a>.</p><p>This meant that we had a menu to manage versions, another one to manage deployments + different UIs depending on how you wanted to publish your script (web app, API, add-on). The new IDE mixes all that into a single UI, making easier for all to deploy a script while keeping all the features made available along the years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69343c71a889" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Slides API — a deep dive on its powerful image manipulation methods]]></title>
            <link>https://romain-vialard.medium.com/use-the-google-slides-api-to-create-a-card-game-6749125b8977?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/6749125b8977</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[google-slides]]></category>
            <category><![CDATA[google-drive]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Fri, 24 Apr 2020 12:45:21 GMT</pubDate>
            <atom:updated>2020-04-24T14:17:38.152Z</atom:updated>
            <content:encoded><![CDATA[<h3>Google Slides API — a deep dive on its powerful image manipulation methods</h3><p>Use Google Apps Script and the Google Slides API to create a card game like Dobble.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4UHfcPCwWTKSBPDpumifxg.png" /></figure><h3><strong>What am I talking about?</strong></h3><p><strong>Dobble (Spot It! in the US)</strong></p><blockquote>A speedy observation card game. During the game, players have to spot the identical symbol between two cards as quickly as possible.<br>=&gt; <a href="https://en.wikipedia.org/wiki/Dobble">learn more on Wikipedia</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*Hk1aT_Vd-xQnWcZA5LqR3w.png" /></figure><p><strong>Google Apps Script</strong></p><blockquote>A rapid application development platform that makes it fast and easy to create applications that integrate with G Suite. You write code in modern JavaScript and have access to built-in libraries for favorite G Suite applications like Gmail, Calendar, Drive, and more. There’s nothing to install — we give you a code editor right in your browser, and your scripts run on Google’s servers.<br>=&gt; <a href="https://developers.google.com/apps-script/overview">learn more on the official documentation</a></blockquote><p><strong>Google Slides API</strong></p><blockquote>This API lets you create and modify Google Slides presentations. Apps can integrate with the Google Slides API to create beautiful slide decks automatically from user- and system-provided data.<br>=&gt; <a href="https://developers.google.com/slides/how-tos/overview">learn more on the official documentation</a></blockquote><h3>The Dobble Algorithm</h3><p>There are <a href="https://www.google.com/search?q=dobble+algorithm">several articles</a> and <a href="https://www.youtube.com/results?search_query=dobble+algorithm">YouTube videos</a> explaining the maths behind the game. I’m focusing on using the Google Slides API so I simply reused a Javascript function shared on <a href="https://stackoverflow.com/questions/52822827/spot-it-algorithm-js">Stack Overflow</a>.</p><p>This function returns a two-dimensional array of integers, any two arrays always sharing one, and only one, matching integer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A2UB7WukxwsD70LQFkda2Q.png" /><figcaption>The function output — if we want 8 symbols on each card, like in the real Dobble game, the function will return an array of 57 arrays, each one containing 8 integers, each between 0 and 56.</figcaption></figure><h3>From numbers to images in Slides</h3><h4>Insert images in Slides</h4><p>Now we just need an image for each integer returned by the function (in my case I uploaded a bunch of images in a Google Drive folder), and we can insert all those images in slides using the Google Slides API, it’s quite easy:</p><pre>SlidesApp.create(“my card deck”).appendSlide().insertImage(imageUrl);</pre><p>But I need to insert 8 images per slide and I don’t want one to appear on top of another one. Luckily you can easily set position of each image (set the position from the upper-left corner of the page + the size of the image):</p><pre>image.<strong>setTop</strong>(top).<strong>setLeft</strong>(left).<strong>setWidth</strong>(width).<strong>setHeight</strong>(height);</pre><h4>Replace existing images / use a template</h4><p>I thought it would be easier to start from a template containing images, copy said template and replace the images (as there’s a <a href="https://developers.google.com/apps-script/reference/slides/image#replace(String)">replace method</a> available for images!):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wtemLhn9lGCIenKuj54SWg.png" /><figcaption>Each “i” symbol is an image with a square aspect ratio</figcaption></figure><pre>for (var i = 0; i &lt; deck.length; i++) {<br>  <strong>// each slide / card is a copy of our template</strong><br>  var card = presentation.appendSlide(card_template);<br>  <strong>// existing images in the template are used as placeholders</strong><br>  var placeholders = card.getImages();<br>  for (var j = 0; j &lt; placeholders.length; j++) {<br>    <strong>// and replaced by our real images</strong><br>    placeholders[j].<strong>replace</strong>(imageUrl);<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vPwfCovdpY3O0Zm7bLfjBw.png" /><figcaption>I’m building a card deck on the paw patrol universe for my son, 6 images per card only</figcaption></figure><h4>Rotate images</h4><p>We can also apply a random <a href="https://developers.google.com/apps-script/reference/slides/image#setrotationangle">rotation</a> on each image.</p><pre>var image = placeholders[j].replace(imageUrl);<br>image.<strong>setRotation</strong>(Math.floor(Math.random() * 360));</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Og43hZ4_IzQn1OfZ0HlGg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mMfj7TG92mxUG7jQYTTUrw.png" /><figcaption>shadow + reflection</figcaption></figure><p>Many more methods are available to manipulate images, you could use <a href="https://developers.google.com/apps-script/reference/slides/image#scalewidthratio">scaleWidth</a>(ratio) to randomly change the size of each image or even <a href="https://developers.google.com/slides/reference/rest/v1/presentations.pages/other#Page.ImageProperties">recolor, add a reflection or a shadow</a> on each image (basically every manipulations you can do from the Slides editor UI).</p><h3>Try it</h3><p>Here’s the full Apps Script code to generate a card deck from a bunch of images in Google Drive: <a href="https://script.google.com/d/1_o1COq1Or1IK_26pvRjXy17VXDU8_2iBZ3F-eLajQuBeaif3Sdw_IlR_/edit?usp=sharing">https://script.google.com/d/1_o1COq1Or1IK_26pvRjXy17VXDU8_2iBZ3F-eLajQuBeaif3Sdw_IlR_/edit?usp=sharing</a></p><p>And a step-by-step tutorial: <a href="https://medium.com/@romain.vialard/make-your-own-dobble-spot-it-game-with-google-slides-and-apps-script-57c168b3a5fb">https://medium.com/@romain.vialard/make-your-own-dobble-spot-it-game-with-google-slides-and-apps-script-57c168b3a5fb</a></p><h4>A note on authorization scopes</h4><p>In this Apps Script code, in addition to the Google Slides API, I used the Google Drive API to:</p><ul><li>Retrieve all images in a specific folder Drive.Children.list(DRIVE_FOLDER_ID, { q: “mimeType contains ‘image/’ and trashed = false” }).items;</li><li>Make a copy of a Google Slide template and put that copy in the same folder<br>Drive.Files.copy({ parents: [{ id: DRIVE_FOLDER_ID }] }, SLIDES_TEMPLATE_ID);</li></ul><p>In Apps Script, you can do that either with <a href="https://developers.google.com/apps-script/reference/drive">DriveApp</a> or the <a href="https://developers.google.com/apps-script/advanced/drive">Advanced Drive Service</a>. I used the later because it offers the ability to reduce <a href="https://developers.google.com/drive/api/v3/about-auth#OAuth2Authorizing">the permissions we need</a>.</p><ul><li>With DriveApp, I need to use the full drive scope, which allow the script to read, edit and delete everything in Drive</li><li>With the advanced service, I will still need a global read access to get all images(using drive.readonly scope) but I can combine that with the drive.file scope which only allows the script to create new files, not edit existing ones already created by the user in his Drive.</li></ul><p>Best would be to have a less permissive read scope, where user would only authorize the script to access files inside a specific folder but that’s not (yet?) available.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6749125b8977" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make your own Dobble / Spot It game with Google Slides and Apps Script]]></title>
            <link>https://romain-vialard.medium.com/make-your-own-dobble-spot-it-game-with-google-slides-and-apps-script-57c168b3a5fb?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/57c168b3a5fb</guid>
            <category><![CDATA[board-games]]></category>
            <category><![CDATA[card-game]]></category>
            <category><![CDATA[google-drive]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Tue, 14 Apr 2020 14:22:40 GMT</pubDate>
            <atom:updated>2020-10-08T07:33:41.759Z</atom:updated>
            <content:encoded><![CDATA[<h4>Upload a few images to Google Drive, press the trigger to start a little Apps Script code and you will get your own Dobble game on Google Slides.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BJXjAcAK7QTwpQV5DLdNuQ.jpeg" /><figcaption>Having been stuck at home for a few weeks now, we bought several board games to entertain our children, including 2 Dobble card decks for 4+ years old children (6 images per card instead of the classic 8).</figcaption></figure><p>This tutorial will guide you into creating your own Dobble card deck with Google Slides, which you can easily print for use in your day to day life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OpLfPn93zTQn9-OEAbpMnw.png" /><figcaption>Yes, I made one on the Paw Patrol universe…</figcaption></figure><h3>Select images for your card deck</h3><blockquote>Gameplay: any two cards always share one, and only one, matching symbol. The object of the game is to be the first to announce the drawing in common between two given cards (<a href="https://en.wikipedia.org/wiki/Dobble">Wikipedia</a>).</blockquote><p>To build your card game, you will need <strong>at least 13 images</strong> / symbols, to create a deck of 13 cards with 4 different symbols. To create cards with 6 different symbols, you will need at least 27 images but this will only give you a deck of 15 different cards. <strong>Best is to provide 31 images</strong>, generating a deck of 31 cards with 6 different symbols on each card and, as always, only one matching symbol between any 2 cards (and if you want 8 symbols / card, provide 57 images).</p><p>It’s also best to select images with a transparent or white background and a square aspect ratio. Otherwise you will get a lot of empty space between each symbols. To find images matching those requirements, you can use this url to search on Google Images: <br><a href="https://www.google.com/imghp?as_st=y&amp;tbm=isch&amp;safe=images&amp;tbs=ic:trans,iar:s">https://www.google.com/imghp?as_st=y&amp;tbm=isch&amp;safe=images&amp;tbs=ic:trans,iar:s</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGyefR16We_xJZxRTlbg-g.png" /><figcaption><a href="https://www.google.com/imghp?as_st=y&amp;tbm=isch&amp;safe=images&amp;tbs=ic:trans,iar:s">Search Google</a> for images with transparent background and square aspect ratio</figcaption></figure><h3>Upload your images to Google Drive</h3><p>Create a new folder in Google Drive, upload your images and copy the folder ID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_JXeuwMcS6mPIf0cKsD22g.png" /><figcaption>The folder ID is the last part of the url in the address bar of your web browser</figcaption></figure><h3>Copy and run the script</h3><blockquote>Update (October ‘20): a Google Drive add-on is now available, making the process way easier than the method described here. <br>Here’s the installation link:<br><a href="https://gsuite.google.com/u/1/marketplace/app/findtwins_card_game_creator/564048325819?hl=en&amp;pann=drive_gsao_widget">https://gsuite.google.com/marketplace/app/findtwins_card_game_creator/564048325819</a></blockquote><pre>All the steps below are also available as a <a href="https://www.youtube.com/watch?v=8AGa0CP8BC0">video tutorial</a></pre><p>1- Open the following Google Apps Script project in your web browser: <a href="https://script.google.com/d/1_o1COq1Or1IK_26pvRjXy17VXDU8_2iBZ3F-eLajQuBeaif3Sdw_IlR_/edit?usp=sharing">https://script.google.com/d/1_o1COq1Or1IK_26pvRjXy17VXDU8_2iBZ3F-eLajQuBeaif3Sdw_IlR_/edit?usp=sharing</a></p><p>2- Inside this project, click on the menu File &gt; Make a copy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hG-tGECxZP0ySrDLmyn3xg.png" /></figure><p>3- On line 6, replace the ID between the 2 quotes by your Google Drive folder ID, then save (ctrl+s).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MWQSiIeyycIQnZNB8FWR7A.png" /></figure><p>4- In the “Select function” dropdown, select “buildCardGame”, then click on the run / play icon. You will be asked to grant a few permissions (to access your Google Drive folder and create a Google Slides presentation) then the script will start running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RAJCioylhIm5AzbdrFo4tg.png" /></figure><p>5- The script might take a few minutes to run. Once finished, you will find a presentation in your Drive folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T_nwlJau6ITgzQV0R98RWg.png" /></figure><h3>Fine tune the result</h3><p>The presentation contains one slide par card. If you are not 100% happy with the cards generated, you can easily change the size &amp; rotation of the different images in each card.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uuxIzMP8ADNQ1pMDFkNy4A.png" /><figcaption>Changing size, rotation and position of each image is super easy (but not required if you are happy with the raw result)</figcaption></figure><h3>Print your card deck</h3><p>That’s all, you can now print your deck using the print settings of Google Slides.</p><p>On my side, I’ve chosen to use an online photo printing service (some let you print photos with a square aspect ratio and a size quite similar to the standard Dobble cards). But you need to provide a bunch of photos / images, not a Google Slides presentation.</p><p>So you can use a second function in the Apps Script project to convert your presentation into images (one image per slide). Select “exportGoogleSlidesAsImages” and click on the run / play icon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jE5eMFVNmPKKZC1r-6_o9A.png" /></figure><p>This will create a subfolder in the Google Drive folder you have selected at the beginning and export each slide as images in that subfolder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_odJJFERJxRxRU5Noclyw.png" /></figure><p>You can then download all those images, choose an online photo printing service and order your card deck!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hRC4e3HfuKNLbAUaAznJOg.jpeg" /><figcaption>The final result</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57c168b3a5fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[G Suite editor add-ons — more security for users, more work for developers, better marketplace?]]></title>
            <link>https://romain-vialard.medium.com/g-suite-editor-add-ons-more-security-for-users-more-work-for-developers-better-marketplace-ac22da93a0ec?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac22da93a0ec</guid>
            <category><![CDATA[google-apps-script]]></category>
            <category><![CDATA[addons]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[g-suite]]></category>
            <category><![CDATA[marketplaces]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Mon, 17 Jun 2019 16:48:21 GMT</pubDate>
            <atom:updated>2019-06-17T16:48:21.640Z</atom:updated>
            <content:encoded><![CDATA[<h3>G Suite editor add-ons — more security for users, more work for developers, better marketplace?</h3><p>Google Apps Script is soon approaching its 10 year anniversary 🎉 and <br>Bruce Mcpherson has written an interesting article about its evolution: <a href="https://excelramblings.blogspot.com/2019/06/2019-decade-in-apps-script.html">2019 — a decade in Apps Script</a>, concluding that it has become more and more complex to release and maintain add-ons.</p><blockquote>The potential for an Apps Script ‘wild west’ has given rise to a more sandboxed, user orientated environment again […] to the extent that <strong>many of those that have produced free add-ons in the past have either withdrawn them or have stopped developing new ones</strong>.</blockquote><p>Thus I thought it would be interesting to:</p><ul><li>list the main changes add-on developers had to adapt to over the last years</li><li>check how this impacted the marketplace: are there still people willing to create add-ons?</li></ul><h3>Main evolutions</h3><p>With Google trying to better protect its users from malicious third party apps, add-ons creators have (and will) face several challenges:</p><ul><li>In July 2017, Google announced that existing add-ons needed to go through a new verification process, to assess their usage of G Suite APIs / authorization scopes “<a href="https://cloud.google.com/blog/products/application-development/new-security-protections-to-reduce-risk">New security protections to reduce risk from unverified apps</a>” — in addition to having to answer Google’s questions, you also needed a domain name (whereas before you simply needed a free gmail.com account to release an add-on) and a Privacy Policy.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d7xuR9shL2ocCdvVl-oThg.png" /></figure><ul><li>A year after, in october 2018, Google announced the migration of all add-ons: “<a href="https://cloud.google.com/blog/products/g-suite/migrating-gsuite-extensions-from-chrome-web-store-to-gsuite-marketplace">Migrating G Suite Extensions from Chrome Web Store to G Suite Marketplace</a>”, requiring some developers to make updates if they wanted to keep their add-on listed (including adding a ‘Terms of Service’ page in addition to a ‘Privacy Policy’). Note that this migration was planned for March 2019 but as of today the add-on stores are still powered by the Chrome Web Store.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_g1_l_yQDk59lPjDMb9AA.png" /></figure><ul><li>During the same period, Google announced more restrictions for apps and add-ons using the Gmail API: “<a href="https://cloud.google.com/blog/products/g-suite/elevating-user-trust-in-our-api-ecosystems">Elevating user trust in our API ecosystem</a>” — this adds a real blocking point as you need to pay for a yearly security assessment (from $15,000 to $75,000) if you want to build an add-on accessing the user mailbox.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SzFwFA2sc6tB_KpKZJWVDw.png" /></figure><ul><li>And last month Google announced the same restrictions for apps and add-ons with access to files stored in Google Drive: “<a href="https://cloud.google.com/blog/products/identity-security/enhancing-security-controls-for-google-drive-third-party-apps">Enhancing security controls for Google Drive third-party apps</a>”</li></ul><h3>Impact on the marketplace</h3><p>So, it’s fair to ask if people are still willing to publish add-ons. Since 2016, I’ve been monitoring the number of add-ons available, along with the number of installations, last update and other public data.</p><p>There are currently <strong>869</strong> add-ons available for Sheets (+20% in one year, up from 726 in June 2018), <strong>427</strong> for Docs (+20%), <strong>84</strong> for Forms (+20%) and <strong>80</strong> for Slides (+150% but the marketplace for Slides add-ons is newer).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yAee95Um-tib719VsflhkA.png" /></figure><p>Specifically for Sheets, since June 2018, a year ago, 213 new add-ons have been made available and 70 have been removed.</p><p>Overhaul, the new security measures /reviews don’t seem to have really discouraged people to release new add-ons. But a more careful review might show another story.</p><p>For example, the add-on <a href="https://chrome.google.com/webstore/detail/gsm-mailmerge/fjimadonilpeknihlnnkbgmlmjneodgk?utm_source=permalink">GSM MailMerge</a> is still displayed in the add-on store but you can’t install it anymore (as it hasn’t gone through the review process for Gmail scopes / wasn’t willing to pay for the security review).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4KiwzJLTCEPQ3I5KraMqcQ.png" /></figure><p>Several add-ons seem to be impacted in the same way and are still listed but no longer installable. Plus, Google hasn’t yet made the migration to the G Suite Marketplace. When that happens, many old (but still useful) add-ons might also disappear (as some changes — like including a public page containing your ‘Terms of Service’ — are required).</p><h3>Future</h3><p>As for the future, the new restrictions to access Google Drive scopes will also have an impact. Some of the most used and installed add-ons have been created by educators (mostly) for educators and are totally free. This is the case of <a href="https://chrome.google.com/webstore/detail/flubaroo/mjkbmijfpphoabkogbdmdkolcnaenaia?utm_source=permalink">Flubaroo</a>, <a href="https://chrome.google.com/webstore/detail/autocrat/ppgnklghfnlijoafjjkpoakpjjpdkgdj?utm_source=permalink">Autocrat</a>, <a href="https://chrome.google.com/webstore/detail/doctopus/ffhegaddkjpkfiemhhnphmnadfbkdhbf?utm_source=permalink">Doctopus</a> and many others. Will their author / current maintainer be willing to pay for the security review? We shall soon see :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac22da93a0ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Metadata in Google Drive and more news from Google Next]]></title>
            <link>https://romain-vialard.medium.com/metadata-in-google-drive-and-more-news-from-google-next-97b7dc58e0b3?source=rss-b7a188dea249------2</link>
            <guid isPermaLink="false">https://medium.com/p/97b7dc58e0b3</guid>
            <category><![CDATA[google-next]]></category>
            <category><![CDATA[g-suite]]></category>
            <category><![CDATA[metadata]]></category>
            <category><![CDATA[google-drive]]></category>
            <dc:creator><![CDATA[Romain Vialard]]></dc:creator>
            <pubDate>Mon, 15 Apr 2019 10:00:43 GMT</pubDate>
            <atom:updated>2019-04-15T10:56:49.213Z</atom:updated>
            <content:encoded><![CDATA[<p>I attended Google Next last week, filled with many announcements on GCP and G Suite. You can <a href="https://gsuiteupdates.googleblog.com/2019/04/summary-next-2019-announcements_11.html">read this post from the G Suite Updates blog</a> for a list of the main announcements related to G Suite.</p><p>I will focus on announcements linked to Google Drive, introduced during 3 different sessions at Next, all of them available on YouTube:</p><ul><li><a href="https://www.youtube.com/watch?v=s5tBqu5Cagc">New Features for Collaboration in Drive (Cloud Next ‘19)</a><br>Showcasing several new features available between today and the end of the year.</li><li><a href="https://www.youtube.com/watch?v=2Oe0bPic6TY">New Workflow Features in Google Drive, Plus Airbus Case Study (Cloud Next ‘19)</a><br>Showcasing metadata and workflow features in Drive, plus new Drive add-ons.</li><li><a href="https://www.youtube.com/watch?v=mJZOLrc52cg">Avoid Unnecessary ECM Costs with Google Drive (Cloud Next ‘19)</a><br>Mostly focused on the cost savings made possible by migrating your file servers to Google Drive.</li></ul><h4>Metadata available in beta</h4><p>During the session on workflow features with Airbus, Google <a href="https://youtu.be/2Oe0bPic6TY?t=630">made a demo of the new metadata feature</a> available in beta (<a href="https://gsuite.google.com/campaigns/index__drive-metadata.html">you can apply here</a>) and it looks quite useful!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wKdiCqPT9Cxdu_1p83jbcg.png" /><figcaption>Team Drive managers have access to a new “Manage custom properties” menu</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xQn0YqiV47R9tIedGqrNqA.png" /><figcaption>From there, they can create (if authorized by admins) / activate categories of files available in said Team Drive. Each category (or file type) has a set of metadata linked to it (eg: if you indicate that a specific file is of type “Invoice”, you will be able to select an Amount, a Due Date,…)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBdO1rrxj1VNxjdqJwaAtQ.png" /><figcaption>Team Drive users can select files and apply categories to them.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wL5eSlWYLmdO_GocFmd5rQ.png" /><figcaption>They can then add the proper informations about the file.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MuD39QrQAPFaDNFvVfjDAA.png" /><figcaption>And those properties can be reused in search! eg here, search for all invoices where due date is before a specific date.</figcaption></figure><p>Google also talked about <a href="https://youtu.be/2Oe0bPic6TY?t=1519">automated document classification</a>, though nothing specific has been shared yet.</p><h4>Workflows</h4><p>At the moment the goal seems for Google to provide <a href="https://youtu.be/2Oe0bPic6TY?t=1736">basic approval processes</a> while more complex workflows will be made available via third-party integrations, thanks to the new Drive add-ons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5RVYvZ1TOL0mvpVYKeT5Kw.png" /><figcaption>Basic approval workflows, available in beta in June 2019.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6y06RE938KBtLUw3BqtKGA.png" /><figcaption>New Google Drive add-ons will provide more complex workflow features, directly in Drive. Here’s a signature process powered by DocuSign.</figcaption></figure><h4>Folder sharing in Team Drive</h4><p>At the moment, the main limitation of Team Drive is that you can’t change permissions on subfolders (though you can share specific files to people who are not members of the Team Drive). <a href="https://youtu.be/s5tBqu5Cagc?t=1418">This should change later this year</a>, though Google made no promise (it’s still announced as “Directional” because it seems to require a lot of work on the backend structure of Drive).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DV1zYjP9cbjUvtnoM2uqpg.png" /></figure><h4>And a lot more!</h4><p>Google announced many other features, mostly during the session on “<a href="https://www.youtube.com/watch?v=s5tBqu5Cagc">New Features for Collaboration</a>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PnGT6Z4rhQI5QuZ8BEVCjQ.png" /></figure><h4>Office Native Editing</h4><p>Until now, if you had a Microsoft Office file in Drive, you needed to convert it to Google Docs to edit it and then convert it back (using “Download as”) if you needed to share it in the Office format. Now you can directly edit your Office files (Word, Excel and Powerpoint) without conversion, meaning it will be way easier for people to collaborate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wErh72N0obWqAVlQepN5RQ.png" /><figcaption>Note the “.DOCX” icon right next to the document title, showing you are editing in Google Docs a Word document and not a standard Google Doc.</figcaption></figure><p>It’s especially useful if you have started to migrate the content of your files servers to Google Drive without conversion. Some users might edit those files using Microsoft Office and Drive File Stream while others without access to Microsoft Office will be able to edit and collaborate on the same files.</p><p>Here’s more info about this new feature:</p><p><a href="https://gsuiteupdates.googleblog.com/2019/04/office-editing.html">Office editing makes it easier to work with Office files in Docs, Sheets, and Slides</a></p><h4>Drive File Stream admin control</h4><p>Admins can now:</p><ul><li>Control which devices can use Drive File Stream by restricting use to company-owned devices only.</li><li>See the status of Drive File Stream on a device (size of the offline content cache, software version, time of last sync etc.).</li><li><strong>Remotely block the device and wipe the account specific offline content cache</strong> from a machine should it become lost or they no longer want Drive File Stream to be used on the device.</li></ul><p><a href="https://gsuiteupdates.googleblog.com/2019/04/control-drive-file-stream-wipe-cache.html">Get extra visibility and control over how Drive File Stream is used in your organization</a></p><h4>G Suite Migrate</h4><p><a href="https://gsuiteupdates.googleblog.com/2019/03/g-suite-migrate-beta.html">G Suite Migrate was announced in March</a> and is available as part of a beta program, it lets you migrate different data to G Suite, including files from Sharepoint, OneDrive and files servers to Google Drive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PVXpNaTH6TlLHrUuySTlkg.png" /></figure><h4>Sharing</h4><p><a href="https://youtu.be/s5tBqu5Cagc?t=1499">Google showcased again</a> the ability to share files to non-Google accounts via PINs. <a href="https://gsuiteupdates.googleblog.com/2018/12/share-files-more-easily-with-non-google_17.html">This was previously announced last december</a>.</p><p><a href="https://youtu.be/s5tBqu5Cagc?t=1602">They also mentioned</a> a redesign of the sharing dialog and the ability to restrict sharing to subparts of the organization (rather than making a file or folder available to anyone within the organization).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b8eoLnCSFhaMBxK9_Jj61Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97b7dc58e0b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>