---
title: "Creates a Google Workspace Add-on file picker card with CardService that opens a Google Picker in an overlay window &#8211; Google Apps Script &#8211; Yagisanatode"
author: "Martin Hawksey"
date: 2021-07-01T08:14:00+00:00
modified: 2025-08-10T16:24:23+00:00
canonical_url: https://pulse.appsscript.info/p/2021/07/creates-a-google-workspace-add-on-file-picker-card-with-cardservice-that-opens-a-google-picker-in-an-overlay-window-google-apps-script-yagisanatode/
markdown_url: https://pulse.appsscript.info/p/2021/07/creates-a-google-workspace-add-on-file-picker-card-with-cardservice-that-opens-a-google-picker-in-an-overlay-window-google-apps-script-yagisanatode.md
categories:
  - "Add-on"
  - "Drive"
  - "Intermediate"
  - "Solutions"
  - "V8"
tags:
  - "@LifeOfSpy"
  - "yagisanatode.com"
featured_image: https://pulse.appsscript.info/files/2021/06/Google-Apps-Script-GWAO-File-Picker-Title.jpg
description: "Scott Donald has published a tutorial exploring how the Google Drive Picker can be used with Workspace Add-ons Card Service. The post is particularly good at highlighting the steps required as a Google Cloud Console project."
---

# Creates a Google Workspace Add-on file picker card with CardService that opens a Google Picker in an overlay window &#8211; Google Apps Script &#8211; Yagisanatode

![Creates a Google Workspace Add-on file picker card with CardService that opens a Google Picker in an overlay window &#8211; Google Apps Script &#8211; Yagisanatode](https://pulse.appsscript.info/files/2021/06/Google-Apps-Script-GWAO-File-Picker-Title.jpg)

> [https://yagisanatode.com/2021/06/27/creates-a-google-workspace-add-on-file-picker-card-with-cardservice-that-opens-a-google-picker-in-an-overlay-window-google-apps-script/](https://yagisanatode.com/2021/06/27/creates-a-google-workspace-add-on-file-picker-card-with-cardservice-that-opens-a-google-picker-in-an-overlay-window-google-apps-script/)
> So you have this awesome idea for a Google Workspace Add-on (GWAO), but you need to be able to select Google Drive files and folders as a part of your process. … Ideally, you would want a built-in File Picker class that would select the files and folders from the directories you need. Whelp… unfortunately, we don’t have that right now for Google Apps Script’s Card Service.
> One approach might be to build out a file picker card selecting each parent’s files and folders and navigate through it like, say, a linked list. … Instead, I decided to incorporate Googles File Picker API as a popup window from the sidebar, because, it’s kinda what it is designed for.

The Google Apps Script GDEs are publishing some very thorough tutorials just now. The latest comes from Scott Donald who has published a tutorial exploring how the Google Drive Picker can be used with Workspace Add-ons that use the Card Service. The post is particularly good at highlighting the steps required as a Google Cloud Console project.

Source: *[Creates a Google Workspace Add-on file picker card with CardService that opens a Google Picker in an overlay window – Google Apps Script – Yagisanatode*](https://yagisanatode.com/creates-a-google-workspace-add-on-file-picker-card-with-cardservice-that-opens-a-google-picker-in-an-overlay-window-google-apps-script/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2021/07/creates-a-google-workspace-add-on-file-picker-card-with-cardservice-that-opens-a-google-picker-in-an-overlay-window-google-apps-script-yagisanatode/](https://pulse.appsscript.info/p/2021/07/creates-a-google-workspace-add-on-file-picker-card-with-cardservice-that-opens-a-google-picker-in-an-overlay-window-google-apps-script-yagisanatode/)*
