Profile cover photo
Profile photo
Ryan Roth
117 followers
117 followers
About
Posts

Post has attachment
Stackdriver Logging is now generally available!

Several months ago we announced Stackdriver Logging as an Early Access Apps Script feature for G Suite Business customers. Stackdriver Logging allows you to log information from Apps Script to Google Cloud's Stackdriver system, where they can persist for days, and also provides a useful UI to allow searching and filtering of those logs.

We are happy to announce that Stackdriver Logging is no longer an Early Access feature. Now all scripts can use this logging system. You can read more about it in the Apps Script Logging guide.

Happy coding!

Post has attachment
New Issue Tracker for Apps Script and G Suite

Today we migrated our existing issue tracker to a new system. This new tracker gives you a few extra features (like saved searches). It also means that your reported bugs and feature requests should get better exposure internally.

You can learn about the new interface at:
https://developers.google.com/issue-tracker/


Other useful links:

Search Apps Script open issues: https://issuetracker.google.com/savedsearches/566222

File a new Apps Script bug:
https://issuetracker.google.com/issues/new?component=191640&template=823905

Request a new Apps Script feature:
https://https://issuetracker.google.com/issues/new?component=191640&template=824113

Post has attachment
Gmail add-ons now in Developer Preview

We've started accepting requests to enter Developer Preview for Gmail add-ons.

Gmail add-ons let you to improve workflows by allowing users to take care of tasks without leaving Gmail. And they will be 'Write once, run anywhere' -- once you've built the add-on, it will work on desktop and mobile devices.

Post has attachment
Advanced Services for Slides and Sheets now available

We've just enabled Advanced Services for Google Slides and Google Sheets. The Slides advanced service lets you to access the Google Slides v1 API and the Sheets advanced service lets you access the Google Sheets v4 API. The Sheets v4 API provides a few features that aren't available in Apps Script's built-in Spreadsheet service.

You can also access these APIs with UrlFetch requests, but using the Advanced services will simply authorization and let you see autocomplete suggestions in the Apps Script editor.

https://developers.google.com/apps-script/advanced/slides
https://developers.google.com/apps-script/advanced/sheets

Post has attachment
NATIVE sandbox mode now shutdown

Last October the EMULATED and NATIVE modes for Apps Script's HtmlService were deprecated, and a gradual sunset plan was announced.

As of today, that process is now complete. All scripts, including existing ones, will operate exclusively in IFRAME sandbox mode. Calls to HtmlOutput.setSandboxMode() are now no-ops.

If you have scripts, web apps, or add-ons using the HtmlService that you did not migrate over to IFRAME, they may function differently than expected (or not at all).

Happy scripting!

Errors with using UrlFetch via trigger significantly reduced

Developers working with triggers have often noticed that, if the trigger calls UrlFetch, the request will sometimes results in a timeout or 'Unexpected' error, after a long delay.

The Apps Script team has recently completed several internal changes that should significantly reduce the number of these errors and improve average latency of the UrlFetch requests. If these errors were causing your project problems, you may want to retest your script now to see if they are resolved.

Happy Scripting!

Post has attachment
Reminder:

Last October the EMULATED and NATIVE modes for Apps Script's HtmlService were deprecated, and a gradual sunset plan was announced.

As of today, all scripts, including existing ones, will default to IFRAME sandbox mode unless NATIVE mode is explicitly specified.

If you have scripts, web apps, or add-ons that you did not migrate over to IFRAME, they may function differently than expected (or not at all).

For now you can still use NATIVE mode if you explicitly set it. However, NATIVE mode will be sunset permanently on June 30, 2016, so it is recommended that you migrate now if you have not done so.

Happy scripting!

Post has attachment
Apps Script now allows web apps running in IFRAME mode to access the browser history stack. This allows developers to persist and recover state information as the user navigates the web app, including clicking on the backward and forward browser buttons.

Currently this feature is only available for web apps -- dialogs, sidebars and add-ons are not supported.

Post has attachment
Apps Script has added an Advanced Gmail Service.

This will allow you to call the Gmail API from an Apps Script project. For most purposes the GmailApp built-in service will be simpler to use, but this service does give access to a few additional features and more detailed information about Gmail content.

For more details about what the Gmail API can do, see: https://developers.google.com/gmail/api/

Post has attachment
Wait while more posts are being loaded