activities
latest
false
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

Actividades del flujo de trabajo

Última actualización 19 de feb. de 2026

Elementos HTML dinámicos

Los elementos HTML dinámicos te permiten crear contenido HTML que puede mostrarse o utilizarse dinámicamente en cualquier parte del formulario mientras el formulario está abierto durante el tiempo de ejecución. Por ejemplo, puedes asignar una imagen para que aparezca dinámicamente después de haber seleccionado una opción desplegable y luego pedirle al usuario que escriba el elemento de la imagen en un campo de texto.

Tutorial

Para pasar un elemento HTML dinámico:

  1. From the Create Form activity > Properties panel, open the FormFieldsCollection window.
  2. Add an In argument of type String and name it suggestively.
  3. Open the Form Designer and drag an HTML Element component to your form.
  4. In the Display tab > HTML Tag field, add p for a new HTML paragraph.
  5. In the Content field, add the type of data that you want to pass dynamically by using the expression {{data.variable}}, and replace variable with the name of the argument created at Step 2.
  6. Select the Refresh on Change checkbox.
    Nota:

    To add an image in an HTML Element form field, the image has to be converted to Base64 format.

Para pasar una imagen como elemento HTML dinámico:

  1. Convierte la imagen en una cadena Base64.
  2. Guarda la cadena Base64 como variable de flujo de trabajo. Por ejemplo, image.
  3. From the Create Form activity > Properties panel, open the FormFieldsCollection window.
  4. Add an In argument of type String and name it sampleImage.
  5. Set the Base64 string from Step 2 as Value.
  6. Click OK to close the FormFieldsCollection window.
  7. In the Form Designer > Advanced tab > HTML Element component > Content field , enter the following expression:
    <img href={{data.sampleImage}} height=100 width=100/>
    <img href={{data.sampleImage}} height=100 width=100/>
    
    Nota:

    The Label/Header basic components can also be used to pass elements dynamically. This enables you to set dynamic labels and headers for form fields.

  • Tutorial

¿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
Confianza y seguridad
© 2005-2026 UiPath. Todos los derechos reservados.