apps
2024.10
true
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Guide de l'utilisateur d'Apps

Automation CloudAutomation Cloud Public SectorAutomation Suite
Dernière mise à jour 18 déc. 2024

Procédure

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. Sélectionnez Ajouter.
  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. Sélectionnez Ajouter une commande (Add control).
    2. Sélectionnez Afficher.
    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()

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Uipath Logo White
Confiance et sécurité
© 2005-2024 UiPath Tous droits réservés.