This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Vanrage データ自動集計システム (サイドバー形式) | |
| */ | |
| function onOpen() { | |
| // スプレッドシートを開いたときに独自メニューを追加 | |
| SpreadsheetApp.getUi() | |
| .createMenu('📊 Vanrage集計') | |
| .addItem('ファイルアップロードを開く', 'showSidebar') | |
| .addToUi(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Vanrage データ自動集計システム | |
| * | |
| * ========================================== | |
| * 【超重要】最初に必ず「setupAuth」を実行してください! | |
| * ========================================== | |
| */ | |
| function setupAuth() { | |
| // Driveへのアクセス権限と外部通信(UrlFetch)の権限をGASに強制認識させるためのダミー処理 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Vanrage データ自動集計システム | |
| * | |
| * ========================================== | |
| * 【超重要】最初に必ず「setupAuth」を実行してください! | |
| * ========================================== | |
| */ | |
| function setupAuth() { | |
| // これを実行することで強制的に権限承認のポップアップを出します |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Vanrage データ自動集計システム | |
| */ | |
| function doGet() { | |
| return HtmlService.createHtmlOutputFromFile('Index') | |
| .setTitle('Vanrageデータ集計') | |
| .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL) | |
| .addMetaTag('viewport', 'width=device-width, initial-scale=1'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Vanrage データ自動集計システム | |
| * | |
| * @NotOnlyCurrentDoc | |
| */ | |
| function doGet() { | |
| return HtmlService.createHtmlOutputFromFile('Index') | |
| .setTitle('Vanrageデータ集計') | |
| .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Vanrage データ自動集計システム | |
| */ | |
| function doGet() { | |
| return HtmlService.createHtmlOutputFromFile('Index') | |
| .setTitle('Vanrageデータ集計') | |
| .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL) | |
| .addMetaTag('viewport', 'width=device-width, initial-scale=1'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Vanrage データ自動集計システム | |
| */ | |
| function doGet() { | |
| return HtmlService.createHtmlOutputFromFile('Index') | |
| .setTitle('Vanrageデータ集計') | |
| .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL) | |
| .addMetaTag('viewport', 'width=device-width, initial-scale=1'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * データ統合Webアプリケーション | |
| * 2つのExcelファイルをアップロードし、スプレッドシートに統合データを自動生成します。 | |
| */ | |
| function doGet() { | |
| return HtmlService.createHtmlOutputFromFile('Index') | |
| .setTitle('データ統合システム') | |
| .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL) | |
| .addMetaTag('viewport', 'width=device-width, initial-scale=1'); |