apps
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Apps 用户指南

Automation CloudAutomation Cloud Public SectorAutomation Suite
上次更新日期 2024年12月13日

程序

To do this, you first need to prepare an entity with a Choice Set field.

  1. Open an existing application or create a new one.
  2. Add the entity containing the Choice Set field to your app:
    1. Select Add any, then Entity.
    2. Select your active tenant, then the entity containing the Choice Set field.
    3. 选择“添加”。
  3. Add two variables to your app, and bind them to your entity and choice set:
    1. Select Add any, then Variable.
    2. 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.
    3. Add another variable to your app by repeating step 3a, but specify its type as ListSource of ChoiceSet.
  4. Add a Table and Label to your app:
    1. 选择“添加控件”。
    2. 选择“显示”。
    3. Drag the Table to an area in your app.
    4. Add a Label to your app by repeating steps 4a and 4b.
  5. Configure the Table:
    1. In the Properties panel, under Columns, select the Delete Column button. Repeat this once to leave only one column in the Table.
    2. Select the Column heading field to open its properties.
    3. Under Name, select Column heading. The Expression editor opens.
    4. Replace "Column heading" with "DisplayName", then select Save.
    5. In the Source field, select Open resources, then Expression editor.
    6. Add "DisplayName", then select Save.
  6. Bind the Table and Label to your entity and Choice Set:
    1. Select the Table.
    2. In the Properties panel, select the Additional resources button adjacent to the Data source field.
    3. Select the Expression editor, then add the following: GetChoiceSet("choice_set"), where choice_set is the name of the choice set you want to use.
    4. Select the Label.
    5. In the Properties panel, select the Text field.
    6. Replace "Label" with the following: MainPage.Table.DataSource.data.Count.ToString()

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。