apps
2024.10
true
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
UiPath logo, featuring letters U and I in white

Guía del usuario de Apps

Automation CloudAutomation Cloud Public SectorAutomation Suite
Última actualización 18 de dic. de 2024

Procedimiento

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. Selecciona Añadir.
  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. Selecciona Añadir control.
    2. Selecciona Pantalla.
    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()

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo White
Confianza y seguridad
© 2005-2024 UiPath. Todos los derechos reservados.