# Adding widgets

#### Add a widget to a page

From the "Add widget" toolbar, widgets can be added to a page. This can be done

* by a single click on the widget icon. This adds the widget to the center of the visible page area.
* by drag & drop of the widget icon to the position on the page, where it should be inserted.

<figure><img src="/files/x1eE7DFBlMhFqvsaiQjI" alt=""><figcaption><p>The "Add widget" toolbar</p></figcaption></figure>

#### Other options to create widgets

* by executing the "Duplicate" command from the widget toolbar. This duplicates all currently selected widgets, and inserts them on the same page with a shift of 10 pixels to the right and to the bottom.
* By copy & paste widgets from the same page, or any other page into the current page, by typing CTRL+c and CTRL+v for the selected widgets to copy.

**Remarks**

* If the name of the widget is already used in the current page by another widget, a new available name is created by adding a numerical appendix to the widget name, like "username2".
* If multiple widgets are copied, their internal formula references are preserved. That means, if the name of the inserted widget changes, the new name is applied in all formulas of the copied widgets.
* If widgets are copied from another app to the current app, it could happen that widgets which are used in formulas are not available in the new app. These formulas must be adjusted before the widgets can be used with their full previous functionality.
* Copy & paste of widgets between different versions of nedyx is not supported.

#### Change the name of a widget

The Name field displays the name of the currently selected widget, which can be changed there as well.

<div align="left"><figure><img src="/files/cGszkVcnnSKrKTYYSjJW" alt=""><figcaption><p>Rename a widget</p></figcaption></figure></div>

**Remarks**

* There are some restrictions to widget names:
  * must contain at least 3 letters
  * only these characters are allowed: a-z, A-Z, 0-9, \_ (underscore)
* It is not possible to change the name of a widget to a name which is already used by another widget in the same page.
* When the name of a widget is changed, all formula references in the app are automatically adjusted to the new name. So it is very easy to change widget names at any time.


---

# 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.nedyx.com/version-1.66/nedyx/working-with-nedyx/widgets/adding-widgets.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.
