apps-script-samples icon indicating copy to clipboard operation
apps-script-samples copied to clipboard

Apps Script samples for Google Workspace products.

Results 109 apps-script-samples issues
Sort by recently updated
recently updated
newest added
trafficstars

I've been trying to use **onSelectionChange(e)** however it yields the error **TypeError: Cannot read property 'range' of undefined**. To clarify, I did not make any changes to the code, I...

## Expected Behavior getLicenseAssignments should return all the users in the specified domain. PageToken should be populated to allow calling more than 500 results. url: https://github.com/googleworkspace/apps-script-samples/blob/master/advanced/adminSDK.gs ## Actual Behavior getLicenseAssignments...

Fixed the following 2 potential errors: ### 1 `child` can be element rather than Array, which will cause error in the inner `getElementTexts`. ```js case SlidesApp.PageElementType.GROUP: element.asGroup().getChildren().forEach(function(child) { texts =...

Dear apps-script-samples friends, The example of mailmerge in gmail is really useful to send a bulk personalized email. Next, we are thinking to track email's open rate and its click...

## Expected Behavior Hey guys, I followed tutorial on google app script quick start for gmail API [here](https://developers.google.com/gmail/api/quickstart/apps-script) What i'm getting in the app script is this > GoogleJsonResponseException: API...

## Expected Behavior Sample URL: https://script.google.com/macros/s/AKfycbzIaydXj2Qj4wsJUI1ZrXzGZ7UZ7Y6bACbUfrFyGPCF6o8JVrAg/exec URL of script : https://script.google.com/d/1678yNV7JzbmZKYgTr3x6NWqisiC8I3UL0mVu28ejXLlCF50PbxCYNS-L/ Description: Copie of Simple Task with Tasks API enabled and authorization provided ## Actual Behavior App does not start,...

## Expected Behavior Sample URL: https://developers.google.com/apps-script/advanced/analytics#run_a_report Description: Example only shown for v3 analytics, which is no longer supported as an option when I create a new script. It's unclear what...

## Expected Behavior Showing the HtmlOutput Sample URL: https://script.google.com/macros/s/AKfycbxah2o9J4J890ZrR7elB1XPZD4mKuYpScvGiFpkbJvLVnKBqRs4/exec Description: ## Actual Behavior Works on Chrome fine, on Safari on iOS and OSX it returns broken GDrive page (see attached)....

## Expected Behavior The members of the team@ group email get a shared calendar Sample URL: Description: Here are the vars after sec cleansing var TEAM_CALENDAR_ID = '[email protected]'; // Set...

I realize this is probably not the best place to ask this but I have no other avenues. Per Google's [HTML Service documentation](https://developers.google.com/apps-script/guides/html/communication#forms): > If you call a server function...