UiPath Documentation
apps
latest
false
Guía del usuario de Legacy Apps
Importante :
Para ver la documentación sobre proyectos de aplicaciones en Studio Web, consulta el capítulo Proyectos de aplicaciones de la documentación de Studio Web: https://docs.uipath.com/es/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web. 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.

Utiliza Recuento con valores de conjunto de opciones

Introducción

You can build an app to count the values from a table field that is of the type Choice Set.

In this example, we will use the Count function to do the following:

  • Obtener el recuento total de valores del Conjunto de opciones.
  • Obtener el recuento de campos de Conjunto de opciones de una fila seleccionada dentro de una tabla.

Requisitos previos

To do this, you first need to prepare an entity with two Choice Set fields, as follows:

  • Choices - not allowing multiple selections
  • Multiple choices - allowing multiple selections

Procedimiento

  1. Abre tu aplicación ya existente o inicia una nueva.

  2. Add the entity containing the two Choice Set fields. The entity fields and data should look similar to the example below.

  3. Add a table, and bind the entity to the Data Source property of the table.

  4. Agrega dos etiquetas una al lado de la otra dentro de un contenedor.

  5. Add the following in the Text property of the first label: The total number of values in the Choice Set:.

  6. Add the Choices field of the entity using a Count function on the second label as shown in the example below.

  7. Agrega dos etiquetas una al lado de la otra dentro de un segundo contenedor.

  8. Add the following in the Text property of the first label: The number of values on the selected row:.

  9. Add the Table.entity.SelectedValues field, using a Count function on the second label as shown in the example below.

Resultado

When previewing the app, the total number of values in the Choice Set is displayed as 3.

El número de valores de la fila seleccionada cambia dependiendo de la fila seleccionada.

  • Introducción
  • Requisitos previos
  • Procedimiento
  • Resultado

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado