تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
بيان مشروع "برمجة تطبيقات Google" هو ملف JSON خاص يحدّد
معلومات أساسية عن المشروع تحتاج إليها "برمجة تطبيقات Google" لتشغيل النص البرمجي
بنجاح.
تنشئ "برمجة تطبيقات Google" بيان المشروع وتعدّله تلقائيًا أثناء إنشاء مشروع النص البرمجي وإجراء تغييرات في محرِّر "برمجة تطبيقات Google". في معظم الحالات، لن تحتاج إلى عرض البيان أو تعديله مباشرةً، ولكن قد يكون ذلك مفيدًا أو مطلوبًا في بعض الحالات.
يتم وصف بنية ملف البيان وحقول JSON الخاصة به في دليل بنية البيان المرجعي.
تعديل بيان
يخفي محرّر "برمجة تطبيقات Google" ملفات البيان تلقائيًا لحماية إعدادات مشروع "برمجة تطبيقات Google". اتّبِع الخطوات التالية لجعل ملف بيان المشروع المخفي مرئيًا في محرّر Apps Script:
افتح مشروع البرنامج النصي في محرِّر Apps Script.
انقر على إعدادات المشروعsettings.
ضَع علامة في مربّع الاختيار عرض ملف البيان "appsscript.json" في المحرر.
يظهر ملف البيان كملف مشروع باسم appsscript.json. يمكنك تعديل هذا الملف مباشرةً في أداة التعديل وحفظ أي تغييرات تجريها. لإخفاء ملف البيان بعد إجراء التغييرات، كرِّر الخطوات السابقة وأزِل العلامة من مربّع الاختيار عرض ملف البيان "appsscript.json" في المحرّر.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]