# App Designer

**App Designer** is a **Smart Form and Data Modeling tool** in ONEWEB that allows users to define and manage **Entities**, which form the foundation of application data and user interfaces.

In the ONEWEB platform, an **Entity** represents a collection of related business attributes that together describe a real‑world business object.\
Examples of entities include:

* Customer
* Order
* Product
* Tax Invoice

Each entity serves as a **single logical unit** that can be used across the platform, including:

* Smart Forms
* Process workflows
* Data validation and storage
* User interaction screens

***

### Purpose of App Designer

App Designer is designed to help users:

* Define business data structures in a centralized manner
* Model entities that represent real‑world business concepts
* Create reusable data components for forms and processes
* Ensure consistent data usage across applications
* Bridge the gap between data design and UI configuration

By using App Designer, applications can maintain **data consistency, reusability, and scalability**.

***

### Entity Concept in ONEWEB

An **Entity** in ONEWEB:

* Groups related business attributes into one object
* Acts as the primary data model for Smart Forms
* Can be reused across multiple forms and processes
* Represents a business concept rather than a technical table

In most business scenarios, an Entity in ONEWEB can be directly mapped to:

* Use case diagrams
* ER diagrams
* Business domain models

This alignment allows both business and technical users to work with a **shared understanding of data structures**.

***

{% hint style="warning" %} **Important**\
The first step in creating any **Smart Form** on the ONEWEB platform is to **define an Entity**.

It is critical to carefully analyze and define the **scope and responsibility** of the business entity before starting form configuration.\
A well‑designed entity leads to:

* Cleaner form designs
* Simpler process integration
* Easier maintenance and future enhancements {% endhint %}

***

### Role within ONEWEB Platform

App Designer works closely with other ONEWEB designers:

* **Page Designer** – Uses Entities as data sources for UI components
* **Process Designer** – Uses Entities to pass and manage data within workflows
* **Microflow Designer** – Uses Entities for logic and integration

Together, these tools ensure a seamless flow from **data definition → user interaction → process execution**.

***

### Summary

**App Designer** is the foundation for data modeling and Smart Form design in ONEWEB.

Key points:

* Defines Entities that represent business objects
* Entities group related business attributes
* Entities are reusable across forms, processes, and logic
* Proper entity design is essential for scalable applications
* App Designer ensures consistency across the entire ONEWEB platform

This reference section provides the conceptual basis for understanding how data is modeled and used throughout ONEWEB applications using **App Designer**.


---

# 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/oneweb-platform-th/designer-reference/app-designer.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.
