Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Manifes project Apps Script adalah file JSON khusus yang menentukan
informasi project dasar yang diperlukan Apps Script untuk menjalankan skrip
dengan berhasil.
Apps Script secara otomatis membuat dan mengupdate manifes project saat Anda membuat project skrip dan membuat perubahan di editor Apps Script. Dalam sebagian besar kasus, Anda tidak perlu melihat atau mengedit manifes secara langsung; namun, dalam situasi tertentu, hal ini mungkin bermanfaat atau diperlukan.
Struktur file manifes dan kolom JSON-nya dijelaskan dalam panduan referensi Struktur manifes.
Mengedit manifes
Editor Apps Script menyembunyikan file manifes secara default untuk melindungi setelan project Apps Script Anda. Ikuti langkah-langkah berikut untuk membuat manifes project tersembunyi terlihat di editor Apps Script:
Buka project skrip di editor Apps Script.
Klik Setelan Projectsettings.
Pilih kotak centang Tampilkan file manifes "appsscript.json" dalam editor.
File manifes muncul sebagai file project bernama appsscript.json. Anda
dapat mengedit file ini secara langsung di editor dan menyimpan perubahan yang Anda buat. Untuk menyembunyikan
file manifes setelah Anda membuat perubahan, ulangi langkah-langkah sebelumnya dan
hapus centang pada kotak Tampilkan file manifes "appsscript.json" dalam editor.
[null,null,["Terakhir diperbarui pada 2025-08-31 UTC."],[[["\u003cp\u003eAn Apps Script project manifest (\u003ccode\u003eappsscript.json\u003c/code\u003e) is a JSON file containing essential project information that Apps Script needs for proper execution.\u003c/p\u003e\n"],["\u003cp\u003eWhile Apps Script automatically manages the manifest, developers can view and edit it to adjust project settings and configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe manifest structure is detailed in a separate reference guide, and incorrect modifications can impact project functionality or deployment.\u003c/p\u003e\n"],["\u003cp\u003eTo access and edit the manifest, enable the "Show 'appsscript.json' manifest file in editor" option in the project settings within the Apps Script editor.\u003c/p\u003e\n"],["\u003cp\u003eExercise caution when editing the manifest, ensuring its correctness to avoid issues with saving deployments or passing publication review for published projects.\u003c/p\u003e\n"]]],[],null,["# Manifests\n\nAn Apps Script project *manifest* is a special JSON file that specifies a\nbasic project information that Apps Script needs to run the script\nsuccessfully.\n\nApps Script automatically creates and updates the project manifest as you\ncreate your script project and make changes in the Apps Script editor. In most\ncases you never need to view or edit the manifest directly; however, in\ncertain situations it may be beneficial or required.\n\nThe structure of the manifest file and its JSON fields are described in\nthe [Manifest structure](/apps-script/manifest) reference\nguide.\n\nEditing a manifest\n------------------\n\nThe Apps Script editor hides manifest files by default in order to protect\nyour Apps Script project settings. Follow these steps to make a hidden project\nmanifest visible in the Apps Script editor:\n\n1. Open the script project in the Apps Script editor.\n2. Click **Project Settings** settings.\n3. Select the **Show \"appsscript.json\" manifest file in editor** checkbox.\n\nThe manifest file appears as a project file named `appsscript.json`. You\ncan edit this file directly in the editor and save any changes you make. To hide\nthe manifest file after you make your changes, repeat the previous steps and\nclear the **Show \"appsscript.json\" manifest file in editor** checkbox.\n| **Note:** *Hide the manifest when you are done editing.* Your manifest may already contain a number of key:value pairs; these represent the current configuration of your Apps Script project. Exercise care when editing the manifest, as you may inadvertently alter how your script project operates.\n| **Warning:** Make sure you define your manifest file correctly. A poorly defined manifest can prevent you from saving a versioned deployment. A script project that you want to publish can't pass publication review if it lacks required fields or uses OAuth scopes that are too broad."]]