Connect a Page Table to a Read Endpoint
Connect a page table to a read endpoint. Return sample records, load them into a page list and try the table controls.
Watch tutorial (6:43)
Connect a page table to a read endpoint. Return sample records, load them into a page list and try the table controls.
Watch tutorial (6:43)
Map page data into dropdown options, repeat native cards with a list loop and create a reusable client function that updates a visible page value. Check the result on desktop, tablet and phone.
Watch tutorial (19:03)
Map a data source into the values and labels expected by page elements.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (2:08)For Table elements, see Page tables. Tables, charts and calendars now offer a scoped data picker and Sample value in the editor. The sample uses local demonstration values only; opening it does not fetch customer records or run a workflow. Page starters can also connect an existing read endpoint after explicit field setup; see Page starters.
Data Source Mappers are essential components within the Twidget no-code API platform, designed to facilitate the integration of dynamic data sources with UI elements. They serve the purpose of linking data source attributes to the respective fields required by UI components such as dropdowns, radio buttons, and navigation elements.
Dynamic Data Source: In Twidget, UI elements can utilize dynamic data sources instead of static data to populate their options. This enhances the flexibility of applications by enabling them to respond to live data.
Field Mapping: Field mapping allows developers to specify which attributes of a data source object correspond to the various fields needed by UI components. This includes defining label, value, and visibility settings for options.
Data Source List Object: This refers to a structured collection of objects, each typically containing attributes like label, value, and visible. The list itself serves as the data pool from which UI components derive their options.
Dropdowns and Navigation Elements: These UI components, by default, are set to utilize manual data entries. However, through Data Source Mappers, they can be configured to draw from a defined variable, thus leveraging the attributes of the data source list.
Field Mapping Section: Within Twidget, the configuration interface provides a field mapping section where developers can connect specific data source attributes to the expected fields of the UI components. Although default mappings are provided (e.g., label, value, visible), these can be customized based on the developer's requirements.
The process begins with defining a data source list that contains relevant objects. Developers then configure UI components such as dropdowns or navigation elements to use this list as their data source. By setting up the correct field mappings, the components will appropriately display data driven by the specified attributes of the data source, ensuring that they are dynamically updated and contextually relevant to the application's needs.
In summary, Data Source Mappers are crucial for transforming static UI elements into dynamic interfaces that can adapt according to live data, greatly enhancing the interactive capabilities of applications built on the Twidget platform.
Page Overview
Twidget provides a robust mechanism for creating web pages accessible via a browser. This feature enables users to build various types of pages using a no-code interface, enhancing the platform's developer experience. Key Concepts. Open Pages and choose Create Page. The available starting points inc...
Page Layouts
Page layouts in Twidget provide a structured way to organize and present content on a web page. The primary purpose of page layouts is to enhance user experience through effective content management and visual hierarchies. Key Concepts. - Header & Sidebar Layouts: These layouts subdivide the page in...
Access Query Parameters in a Page
This section details how to access and utilize query parameters within Twidget pages, enabling dynamic content and functionality based on user-supplied parameters. Key Concepts. - Query Parameters: A method to pass data to web pages through the URL, enabling dynamic content updates based on user int...
Custom Page Functions
Reusable custom page functions in Twidget enhance the development experience by allowing users to define and manage functions that operate specifically within the context of pages and page components. This capability is an integral feature for creating dynamic, interactive web applications without t...
Page starters
Page starters give you a useful first layout for a records tool, customer view or operational dashboard. Start with clearly labeled demonstration data, customize the page, then connect the endpoints your customers are allowed to use. Choose a starting point. Open Pages, choose Create Page, then Page...