# Create Dashboard Page

Before adding widgets to a dashboard, a **dashboard page must be created** in the system.\
In the Widget Dashboard approach, this is done by **manually inserting configuration data** into the database table **`PAGE`**.

The data stored in this table defines the dashboard page metadata, layout, theme, and display properties that are required for rendering the dashboard at runtime.

***

#### Page Configuration via Database Table

To create a dashboard page, insert a new record into the **`PAGE`** table using the values described below.

These values represent:

* Page identity and ownership
* Layout and theme configuration
* Display title and icon
* Customization settings

***

#### PAGE Table Values

| Column            | Value           |
| ----------------- | --------------- |
| ID                | `1 <Running>`   |
| USERNAME          | `guest`         |
| PAGE              | `TRAIN1_DASH`   |
| LAYOUTID          | `9`             |
| THEME             | `cupertino`     |
| TITLE             | `INVENTORY`     |
| IMAGE             | `dashboard.png` |
| USERCUSTOMIZATION | `N`             |
| CODE              | *(empty)*       |

***

#### Field Description Overview

* **ID**\
  Unique identifier for the page entry.
* **USERNAME**\
  Specifies the user associated with the dashboard page.
* **PAGE**\
  Logical page identifier used internally by the system.
* **LAYOUTID**\
  Determines the layout template applied to the dashboard page.
* **THEME**\
  Defines the visual theme used to render the page.
* **TITLE**\
  Display title shown on the dashboard UI.
* **IMAGE**\
  Icon or image associated with the dashboard page.
* **USERCUSTOMIZATION**\
  Indicates whether user‑level customization is enabled (`Y` or `N`).
* **CODE**\
  Reserved field for additional configuration or logic (left empty in this setup).


---

# 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.onewebstack.com/building-apps/ui-page-designer/ux-ui-components/dashboard/widget-dashboard/steps-to-create-a-widget-dashboard/create-dashboard-page.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.
