apps
2024.10
true
- 入门指南
- 在开始之前
- 如何
- 通知
- 使用 VB 表达式
- 设计应用程序
- 事件和规则
- 在应用程序中利用 RPA
- 在应用程序中利用实体
- 在应用程序中利用队列
- 应用程序生命周期管理 (ALM)
- 基本故障排除指南
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
Apps 用户指南
程序
To do this, you first need to prepare an entity with a Choice Set field.
- Open an existing application or create a new one.
- Add the entity containing the Choice Set field to your app:
- Select Add any, then Entity.
- Select your active tenant, then the entity containing the Choice Set field.
- 选择“添加”。
- Add two variables to your app, and bind them to your entity and choice set:
- Select Add any, then Variable.
- Give the variable a name. Under Type, open the dropdown menu, and specify the variable type as the name of the entity you added in step 2.
- Add another variable to your app by repeating step 3a, but specify its type as
ListSource
ofChoiceSet
.
- Add a Table and Label to your app:
- 选择“添加控件”。
- 选择“显示”。
- Drag the Table to an area in your app.
- Add a Label to your app by repeating steps 4a and 4b.
- Configure the Table:
- In the Properties panel, under Columns, select the Delete Column button. Repeat this once to leave only one column in the Table.
- Select the Column heading field to open its properties.
- Under Name, select Column heading. The Expression editor opens.
- Replace "Column heading" with "DisplayName", then select Save.
- In the Source field, select Open resources, then Expression editor.
- Add "DisplayName", then select Save.
- Bind the Table and Label to your entity and Choice Set:
- Select the Table.
- In the Properties panel, select the Additional resources button adjacent to the Data source field.
- Select the Expression editor, then add the following:
GetChoiceSet("choice_set")
, wherechoice_set
is the name of the choice set you want to use. - Select the Label.
- In the Properties panel, select the Text field.
- Replace "Label" with the following:
MainPage.Table.DataSource.data.Count.ToString()