با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مانیفست پروژه Apps Script یک فایل JSON ویژه است که اطلاعات اولیه پروژه را مشخص می کند که Apps Script برای اجرای موفقیت آمیز اسکریپت به آن نیاز دارد.
همزمان با ایجاد پروژه اسکریپت خود و ایجاد تغییرات در ویرایشگر Apps Script، Apps Script به طور خودکار مانیفست پروژه را ایجاد و به روز می کند. در بیشتر موارد شما هرگز نیازی به مشاهده یا ویرایش مستقیم مانیفست ندارید. با این حال، در شرایط خاص ممکن است مفید یا ضروری باشد.
ساختار فایل مانیفست و فیلدهای JSON آن در راهنمای مرجع ساختار Manifest توضیح داده شده است.
در حال ویرایش مانیفست
ویرایشگر Apps Script بهطور پیشفرض فایلهای مانیفست را پنهان میکند تا از تنظیمات پروژه Apps Script شما محافظت کند. این مراحل را دنبال کنید تا یک مانیفست پروژه مخفی در ویرایشگر Apps Script قابل مشاهده باشد:
پروژه اسکریپت را در ویرایشگر Apps Script باز کنید.
settingsپروژه کلیک کنید.
کادر بررسی نمایش فایل مانیفست "appsscript.json" در ویرایشگر را انتخاب کنید.
فایل مانیفست به عنوان یک فایل پروژه با نام appsscript.json ظاهر می شود. میتوانید این فایل را مستقیماً در ویرایشگر ویرایش کنید و هر تغییری که ایجاد میکنید ذخیره کنید. برای مخفی کردن فایل مانیفست پس از اعمال تغییرات، مراحل قبلی را تکرار کنید و کادر چک نمایش فایل مانیفست "appsscript.json" را در ویرایشگر پاک کنید.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]