מניפסט של פרויקט ב-Apps Script הוא קובץ JSON מיוחד שמציין את פרטי הפרויקט הבסיסיים שנדרשים ל-Apps Script כדי להריץ את הסקריפט.
מערכת Apps Script יוצרת ומעדכנת את המניפסט של הפרויקט באופן אוטומטי בזמן יצירת פרויקט הסקריפט וביצוע שינויים בכלי לעריכת סקריפטים של Apps Script. ברוב המקרים, אף פעם לא צריך להציג או לערוך את המניפסט ישירות. עם זאת, במצבים מסוימים יכול להיות שזה יעזור או יהיה צורך בכך.
המבנה של קובץ המניפסט ושדות ה-JSON שלו מתוארים במדריך העזרה מבנה המניפסט.
עריכת קובץ מניפסט
עורך Apps Script מסתיר קובצי מניפסט כברירת מחדל כדי להגן על ההגדרות של פרויקט Apps Script. כדי להציג מניפסט של פרויקט מוסתר בעורך של Apps Script:
פותחים את פרויקט הסקריפט בכלי העריכה של Apps Script.
לוחצים על Project Settings (הגדרות הפרויקט) settings.
מסמנים את התיבה הצגת קובץ המניפסט 'Appscript.json' בעורך.
קובץ המניפסט מופיע כקובץ פרויקט בשם appsscript.json. אפשר לערוך את הקובץ הזה ישירות בעורך ולשמור את השינויים. כדי להסתיר את קובץ המניפסט אחרי ביצוע השינויים, חוזרים על השלבים הקודמים ומבטלים את הסימון בתיבה הצגת קובץ המניפסט 'Appscript.json' בעורך.
[null,null,["עדכון אחרון: 2024-12-22 (שעון UTC)."],[[["An Apps Script project manifest (`appsscript.json`) is a JSON file containing essential project information that Apps Script needs for proper execution."],["While Apps Script automatically manages the manifest, developers can view and edit it to adjust project settings and configurations."],["The manifest structure is detailed in a separate reference guide, and incorrect modifications can impact project functionality or deployment."],["To access and edit the manifest, enable the \"Show 'appsscript.json' manifest file in editor\" option in the project settings within the Apps Script editor."],["Exercise caution when editing the manifest, ensuring its correctness to avoid issues with saving deployments or passing publication review for published projects."]]],[]]