Visitors: 0

What is Google Apps Script?

Answers (1)

    • Mikhail Agapov

      Google Apps Script is a scripting platform developed by Google for light-weight application development in the Google Workspace platform. 

      It was initially developed by Mike Harm as a side project while working as a developer on Google Sheets. Google Apps Script was first publicly announced in May 2009 when a beta testing program was announced by Jonathan Rochelle, then Product Manager, Google Docs. 

      In August 2009 Google Apps Script was subsequently made available to all Google Apps Premier and Education Edition customers. It is based on JavaScript 16, but also includes some portions of 1.7, 1.8, and a subset of the ECMAScript 5 API.

      Apps Script projects run server-side on Google's infrastructure. According to Google, Apps Script "provides easy ways to automate tasks across Google products and third party services".

      Apps Script is also the tool that powers the add-ons for Google Docs, Sheets, and Slides.

      Benefits of Google Apps Script

      • Based on Java Script 1.6 and a selection of 1.7, 1.8 makes it easy to use for a large number of users.
      • Cloud-based debugger for debugging App Scripts in the web browser.
      • It can be used to create simple tools for an organization's internal use.
      • It can be used to perform simple system administration tasks.
      • Community-based support model.

      Limitations of Google Apps Script

      • Processing Limitations - As a cloud-based service, Apps Script limits the time that a user's script may run, as well as limiting access to Google services.
      • Currently, Google Apps store does not allow direct connection to internal (behind the firewall) corporate databases, which is key to building business applications, however, via the use of the JDBC service, this can be overcome, if connections are allowed from Google servers to the internal database server. Similarly, the lack of other connectivity, such as LDAP connectivity, limits the level to which GAS can be used in the enterprise.
      • Due to the cloud nature of Apps Script, functions related to date and time will produce results that seem to be incorrect due to the data crossing time zones. Using Date/Time objects and functions without very precise declaration and thorough testing may result in inaccurate results.

      Add-Ons
      In March 2014, Google introduced add-ons for Docs and Sheets (soon followed by Forms). The add-on stores let users add extra features to Google Editors, such as mail-merging, workflows, diagram builders, etc. 

      All add-ons are either 100% built with Apps Script or simply use Apps Script to display UI in the Google editors while relying on an external backend to perform some tasks. For Example, MailChimp, a mailmerging tool, has an add-on or Google Docs that communicates with the MailChimp platform to send emails.

      Before add-ons, it was possible to publish scripts for Google Sheets in the Script Gallery. When users installed scripts through this gallery, a copy of the Apps Script code was installed on the user's sheet. With add-ons, the source code is not visible to the end-user and everyone is using the latest version published by the developer. This new approach makes it easier to support existing code and helped convince several companies, such as MailChimp or LucidChart to invest in Apps Script.

      As part of the release of the add-on, Google also introduced a UI Style Guide and CSS package to help developers build add-ons that integrate smoothly into the editors. Each add-on is also reviewed by Google before its publication and developers can benefit from advice from Googlers to provide a better user experience. It is not possible to embed ads in add-ons but it is possible to monetize them.

    Topics


    Jammu & Kashmir - History, Culture & Traditions | J&K Current Trends | Social Network | Health | Lifestyle | Human Resources | Analytics | Cosmetics | Cosmetology | Forms | Jobs



    Quote of the Day


    "Time Flies Over, but Leaves its Shadows Behind"