この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

Template の設定

Tableau CRM テンプレートの設定。
プロパティ
プロパティ名 説明 検索条件グループとバージョン 使用可能なバージョン
ui UI​Definition テンプレートのユーザインターフェース定義。 Small、36.0 36.0
variables Map <String, Variable​Definition> テンプレートの定義済み変数の対応付け。 Small、36.0 36.0

次の JSON はレスポンスボディの例です。

1{
2  "ui": {
3    "pages": [
4      {
5        "title": "Application Preferences",
6        "variables": [
7          "lensDashboardName",
8          "dashboardHeader"
9        ]
10      },
11      {
12        "title": "Other preferences",
13        "variables": [
14          "emailNotifications",
15          "emailAddress"
16        ]
17      }
18    ]
19  },
20  "variables": {
21    "numberPicked": {
22      "defaultValue": 3,
23      "description": "A number between 1 and 10.",
24      "excludeSelected": false,
25      "excludes": [],
26      "label": "Please pick a number between 1 and 10?",
27      "required": true,
28      "variableType": {
29        "enums": [],
30        "max": 10,
31        "min": 1,
32        "type": "NumberType"
33      }
34    },
35    "lensDashboardName": {
36      "defaultValue": "My View of Election Data",
37      "description": "The name of the sample lens.",
38      "excludeSelected": false,
39      "excludes": [],
40      "label": "What would you like to name your lens and dashboard?",
41      "required": true,
42      "variableType": {
43      "  type": "StringType"
44      }
45    },
46    "dashboardHeader": {
47      "defaultValue": "Wow! Interactive Dashboards are Nice!",
48      "description": "The dashboard header.",
49      "excludeSelected": false,
50      "excludes": [],
51      "label": "What would you like the dashboard header to say?",
52      "required": true,
53      "variableType": {
54        "enums": [],
55        "type": "StringType"
56      }
57    },
58    "emailNotifications": {
59      "defaultValue": "Yes",
60      "description": "Email notifications",
61      "excludeSelected": false,
62      "excludes": [],
63      "label": "Would you like to receive emails for promotions?",
64      "required": false,
65      "variableType": {
66        "enums": ["Yes","No"],
67        "type": "StringType"
68      }
69    },
70    "emailAddress": {
71      "defaultValue": null,
72      "description": "Your email address.",
73      "excludeSelected": false,
74      "excludes": [],
75      "label": "Please enter your email address?",
76      "required": false,
77      "variableType": {
78        "enums": [],
79        "type": "StringType"
80        }
81      }
82    }
83}