Enum DestinationType
DestinationType
enum שמייצג את הסוגים הנתמכים של יעדים לתגובות של טפסים. בכל הטפסים, כולל אלה שלא הוגדר להם יעד באופן מפורש, נשמר עותק של התגובות במאגר התגובות של הטופס. אפשר לגשת לסוגי היעדים דרך FormApp.DestinationType
.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
FormApp.DestinationType.SPREADSHEET
.
// Open a form by ID and create a new spreadsheet.
const form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
const ss = SpreadsheetApp.create('Spreadsheet Name');
// Update the form's response destination.
form.setDestination(FormApp.DestinationType.SPREADSHEET, ss.getId());
מאפיינים
נכס | סוג | תיאור |
SPREADSHEET | Enum | גיליון אלקטרוני ב-Google Sheets כיעד לתשובות מהטופס. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-22 (שעון UTC).
[null,null,["עדכון אחרון: 2024-12-22 (שעון UTC)."],[[["`DestinationType` is an enum defining where form responses can be sent, with all responses saved in the form's response store by default."],["It allows specifying a Google Sheet as a destination for form responses using `FormApp.DestinationType.SPREADSHEET`."],["You can set the destination of a form using the `setDestination()` method, providing the destination type and ID."]]],[]]