Add
Fields.Add
Fields.Retrieve
Fields.UpdateSendableField
Retrieve
データエクステンション内の使用可能なフィールドを記述する JSON オブジェクトの配列を返します。
Fields.Retrieve()
このコードは、データエクステンションを初期化し、フィールドに関する情報を返します。
1var birthdayDE = DataExtension.Init("birthdayDE");
2var fields = birthdayDE.Fields.Retrieve();1[
2 {
3 "Name":"FirstName",
4 "FieldType":"",
5 "IsPrimaryKey":false,
6 "MaxLength":50,
7 "Ordinal":0
8 "DefaultValue":""
9 }, {
10 "Name":"LastName",
11 "FieldType":"",
12 "IsPrimaryKey":false,
13 "MaxLength":50,
14 "Ordinal":1
15 "DefaultValue":""
16 }, {
17 "Name":"EmailAddress",
18 "FieldType":"",
19 "IsPrimaryKey":true,
20 "MaxLength":100,
21 "Ordinal":3,
22 "DefaultValue":""
23 }, {
24 "Name":"Birthday",
25 "FieldType":"",
26 "IsPrimaryKey":false,
27 "MaxLength":10,
28 "Ordinal":4,
29 "DefaultValue":""
30 }, {
31 "Name":"Age",
32 "FieldType":"",
33 "IsPrimaryKey":false,
34 "MaxLength":3,
35 "Ordinal":5,
36 "DefaultValue":""
37 }
38]