# OPEN

#### Syntax <a href="#syntax.35" id="syntax.35"></a>

**OPEN**(*pageName; popupType*)

* *pageName* - the name of the page which is to be opened - ***Value type**: string*
* *p*opup*Type* - specifies the position where the page will be opened - ***Value type**: constant (optional)*\
  \&#xNAN;*Possible values are*
  * *<mark style="color:red;">onpage</mark> -* The popup page is opened in the visible center of the current page
  * *<mark style="color:red;">onwidget</mark> -* the popup page is opened right below the widget, on which the current user interaction took place.
  * *<mark style="color:red;">oncell</mark> -* the popup page is opened right below the table cell, on which the current user interaction took place

#### Remarks <a href="#remarks.27" id="remarks.27"></a>

* *pageName* must be the name which is displayed for the page in Edit mode, not the Display name of the page.
* If parameter *popupType* is specified, this page is opened as a popup on top of the current page. In this case,
  * the page can be closed with the **CLOSE** function.
  * if popupType is onwidget or oncell, the popup can be closed as well by clicking outside of the popup.
  * Whenever the popup page is closed, the **On close** action is called.

#### Example

* **OPEN**("Page1") - opens the page with the name "Page1".
* **OPEN**("Details"; <mark style="color:red;">onpage</mark>) opens the page with the name "Details" as a popup page, in the center and above the current page.


---

# 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/nedyx/clearlines-functions/navigation-functions/open.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.
