Mantieni tutto organizzato con le raccolte Salva e classifica i contenuti in base alle tue preferenze.
Il manifest di un progetto Apps Script è un file JSON speciale che specifica le informazioni di base del progetto necessarie ad Apps Script per eseguire lo script correttamente.
Apps Script crea e aggiorna automaticamente il file manifest del progetto man mano che crei il progetto di script e apporti modifiche nell'editor di Apps Script. Nella maggior parte dei casi non è necessario visualizzare o modificare direttamente il manifest; tuttavia, in determinate situazioni potrebbe essere utile o necessario.
La struttura del file manifest e i relativi campi JSON sono descritti nella guida di riferimento Struttura del manifest.
Modifica di un manifest
L'editor Apps Script nasconde i file manifest per impostazione predefinita per proteggere le impostazioni del progetto Apps Script. Per rendere visibile un file manifest di progetto nascosto nell'editor Apps Script:
Apri il progetto di script nell'editor di Apps Script.
Fai clic su Impostazioni progettosettings.
Seleziona la casella di controllo Mostra il file manifest "appsscript.json" nell'editor.
Il file manifest viene visualizzato come file di progetto denominato appsscript.json. Puoi modificare questo file direttamente nell'editor e salvare le modifiche apportate. Per nascondere il file manifest dopo aver apportato le modifiche, ripeti i passaggi precedenti e deseleziona la casella di controllo Mostra il file manifest "appsscript.json" nell'editor.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-08-04 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,["An 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\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."]]