activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.
UiPath logo, featuring letters U and I in white

Atividades do fluxo de trabalho

Última atualização 17 de fev de 2026

Elementos HTML dinâmicos

Os elementos HTML dinâmicos permitem criar conteúdo HTML que pode ser exibido dinamicamente ou usado em qualquer parte do formulário enquanto o formulário está aberto durante o tempo de execução. Por exemplo, você pode atribuir uma imagem para aparecer dinamicamente após a seleção de uma opção suspensa e solicitar ao usuário que digite o item de imagem em um campo de texto.

Tutorial

Para passar um 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.
    Observação:

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

Para passar uma imagem como um elemento HTML dinâmico:

  1. Converta a imagem em uma string Base64.
  2. Salve a string Base64 como uma variável de fluxo de trabalho. Por exemplo, 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/>
    
    Observação:

    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

Esta página foi útil?

Obtenha a ajuda que você precisa
Aprendendo RPA - Cursos de automação
Fórum da comunidade da Uipath
Uipath Logo
Confiança e segurança
© 2005-2026 UiPath. Todos os direitos reservados.