# PDF

Para configurar o widget, é necessário realizar as seguintes ações:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdCIMuf91vZibxLv8Z9gkk_VagwYnUxcDWimf9fkbxpPw2OZSh8nqn_MmCRVcvNAw17mE-XAKHKTLokuufFOlRfwD_L1m2Glk0JyZ58_obsbsnI3CfsZnzWuKbYQ5QCDF-KLXUy?key=JWgqtECR3DZltm6We6HIMlUD" alt=""><figcaption></figcaption></figure>

O widget PDF exibe um campo para upload ou visualização de um documento PDF. Permite que os Usuários visualizem o conteúdo em formato PDF diretamente na interface do formulário.

Para configurar o item, clique no ícone de edição ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXf7DjRfaey0pve4EPS6qqL7Pu9d-whlNyXO2vp9em_ES4bMhHVPKxVrjHohrlUuf4jpReVeSpM7MDLC0bwrhAiOMetjssVuH5vGYDZc-oc_oas8-I4LJtfasVlwMyY1nj4kT39y?key=JWgqtECR3DZltm6We6HIMlUD).

Uma janela pop-up “Configurações do item” será aberta:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXelzJ7g-NDXmT8cGl_dNZZKUrCHCXy2eO6NVXyzA2iy1dcTBoOuHn4FbcwdKEfGkOXqr4YTkCDKZU6MhxkdKxP5DvpUr6KkahhBPr6pZzAFhG11-Uqry45RUBQPJCk7C4zFdV1WOA?key=JWgqtECR3DZltm6We6HIMlUD" alt=""><figcaption></figcaption></figure>

### Campos para configuração do widget

Preencha os campos necessários para configurar o widget.

**“Nome visível”** – campo de texto, preenchido manualmente com o teclado. Permite especificar um nome para o widget.

**“Nome do Parâmetro na Tarefa (Task)”** – campo de texto, preenchido manualmente com o teclado. Permite especificar o nome do Parâmetro que será enviado à Tarefa ao enviar o formulário. Se o Parâmetro especificado da Tarefa selecionada for um link para um documento PDF, esse documento será exibido no formulário.

**“Classe”** – campo de texto, preenchido manualmente com o teclado. Permite especificar uma classe CSS que será aplicada ao elemento. Isso permite alterar o estilo do widget, por exemplo, cor, tamanho ou fonte.

**“URL do arquivo”** – campo de texto, preenchido manualmente com o teclado. Permite definir um link para o arquivo PDF que será exibido no formulário.

### **Exemplo de preenchimento**

<table data-header-hidden><thead><tr><th width="226"></th><th></th></tr></thead><tbody><tr><td><strong>Nome do campo</strong></td><td><strong>Valor</strong></td></tr><tr><td>Nome visível</td><td>Instrução de uso do produto</td></tr><tr><td>Nome do Parâmetro na Tarefa (Task)</td><td>product_instruction_pdf</td></tr><tr><td>Classe</td><td>pdf-widget</td></tr><tr><td>URL do arquivo</td><td>https://sherparpa.ru/docs/sherpa_rpa_full.pdf</td></tr></tbody></table>

Resultado:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe0wj9c5dQ0T5T9O2LRAHlGrrxCU8YqDMNEmwtmwOi1-hIbghX0N9Dg2KgucrbOSGzYqkLLQ1qiAGALwBuIp_RgtL0l1QIZ2F_da8O7mqF37_wEvxnUOlRRMyZilmx1LlpBGu6z6g?key=JWgqtECR3DZltm6We6HIMlUD" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/pt/sherpa-rpa/sherpa-orchestrator/rabota-v-sherpa-orchestrator/ekrany/deistviya/dizainer-formy/pdf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
