Page Data

Master efficient page data management and enhance data processing capabilities in Momen.


Discover how "Page Data" in Momen revolutionizes temporary data management, enabling efficient data handling and enhancing user experiences.

The Concept of Page Data

Page data represents information temporarily obtained or set on the current page.


It's a variable similar to those used in basic programming. However, it's important to note that the value of page data is undefined, not null. To use page data directly for calculations or content manipulation, you must set its initial value by adding the page data behavior to the page's [Life Cycle] - [Page Loading].

Why Use Page Data

Temporary data generated/set on the page that needs to be used further.

The following scenarios generally require the use of page data:

  1. Setting Shipping Addresses: When selecting a location on a page, such as a map, you can use page data to record the specific administrative address of the location.

  2. Navigation: Similar to the above scenario, you can use map data to determine a destination and set page data to record it, enabling navigation functionality.

  3. Total Cart Amount: When calculating the total cost of goods on a page, page data can save the temporary settlement amount for further processing.

  4. Uploading Files: Temporary data, like files, can be saved in page data and later transferred to a data table.

Prerequisites for Using Page Data

  1. Create page data on the page, providing a location to store the data in the future.

  2. Define the type of the page data:

    1. If the page data is used to save a temporary geographic location, the page data type needs to be set to "Geographic Location".

    2. If the page data is used to save the settlement amount, the page data type should be set to "Infinite Exact Decimal".

  3. Specify whether the page data is single or multiple data.

How to Use Page Data in Momen?

As shown in the following figure, add page data on the page, name the page data (currently only in English), select the corresponding data type, and choose whether to fill in the default value according to business needs. Currently, the default value only supports four basic data types: String, Integer, Float, and Boolean.

After opening "IsList," you can save multiple data (arrays) within page data.


After [Page Data] is created on a page, you can assign a value to [Page Data] when needed by using the [Set Value | Set Page Data] behavior. Then the page data can be used for judgment, writing, and other operations.

If you encounter any issues during the process, feel free to join our Discord community for assistance.

About Momen​​

Momen is a no-code web app builder, allows users to build fully customizable web apps, marketplaces, Social Networks, AI Apps, Enterprise SaaS, and much more. You can iterate and refine your projects in real-time, ensuring a seamless creation process. Meanwhile, Momen offers powerful API integration capabilities, allowing you to connect your projects to any service you need. With Momen, you can bring your ideas to life and build remarkable digital solutions and get your web app products to market faster than ever before.​​

Last updated