# PDF

To configure the widget, you need to perform the following actions:

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

The PDF widget displays a field for uploading or displaying a PDF document. It allows users to view content in PDF format directly within the form interface.

To configure the element, click on the edit icon ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXf7DjRfaey0pve4EPS6qqL7Pu9d-whlNyXO2vp9em_ES4bMhHVPKxVrjHohrlUuf4jpReVeSpM7MDLC0bwrhAiOMetjssVuH5vGYDZc-oc_oas8-I4LJtfasVlwMyY1nj4kT39y?key=JWgqtECR3DZltm6We6HIMlUD).

A pop-up window "Element Settings" will open:

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

### Fields for Configuring the Widget

Fill in the necessary fields to configure the widget.

**"Visible Name"** – a text field, filled in manually from the keyboard. Allows you to specify a name for the widget.

**"Parameter Name in Task"** – a text field, filled in manually from the keyboard. Allows you to specify the name of the Parameter that will be sent to the Task when the form is submitted. If the specified Parameter of the selected Task is a link to a PDF document, then this document will be displayed in the form.

**"Class"** – a text field, filled in manually from the keyboard. Allows you to specify a CSS class that will be applied to the element. This allows you to change the style of the widget, such as color, size, or font.

**"File URL"** – a text field, filled in manually from the keyboard. Allows you to specify a link to the PDF file that will be displayed in the form.

### **Example of Filling Out**

<table data-header-hidden><thead><tr><th width="226"></th><th></th></tr></thead><tbody><tr><td><strong>Field Name</strong></td><td><strong>Value</strong></td></tr><tr><td>Visible Name</td><td>Product Usage Instructions</td></tr><tr><td>Parameter Name in Task</td><td>product_instruction_pdf</td></tr><tr><td>Class</td><td>pdf-widget</td></tr><tr><td>File URL</td><td>https://sherparpa.ru/docs/sherpa_rpa_full.pdf</td></tr></tbody></table>

Result:

<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/en/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.
