Dynamic Pages, Variables and Parameter Binding
Bind native text to page variables, update page state from a compact button, read real path/query inputs with a fallback, and check responsive layouts.
Watch tutorial (9:38)
Bind native text to page variables, update page state from a compact button, read real path/query inputs with a fallback, and check responsive layouts.
Watch tutorial (9:38)
Read query parameters from a page URL and use their values.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (1:52)This section details how to access and utilize query parameters within Twidget pages, enabling dynamic content and functionality based on user-supplied parameters.
Query Parameters: A method to pass data to web pages through the URL, enabling dynamic content updates based on user interaction or external inputs.
Dynamic Content: The capability of a page to change its displayed information based on the values of query parameters.
Text Elements: Text fields can be dynamically updated with content derived from query parameters by embedding special syntax, which includes a dollar sign and double curly braces (e.g., {{$query.name}}). This syntax allows real-time data binding to URL parameters.
Page Publishing: Once changes are made and content is set using query parameters, publishing the page enables public access, demonstrating the dynamic text updates with actual query values in the URL (e.g., ?name=twidget).
Visibility and Other Settings: Query parameters can also be utilized in various element configurations, such as visibility settings, where they help tailor the user interface based on incoming data. These parameters appear in the variable dropdown during configuration, making them easily accessible.
Functions: In addition to visual elements, query parameters can be accessed within page functions. Functions can be created to execute specific logic using query parameter values. For instance, a logging function can be implemented to track the values of the query parameters by referencing the query object (e.g., $query.name).
Overall, Twidget empowers users to create dynamic and responsive web pages that adapt based on the query parameters within the URL, greatly enhancing the interactive capabilities of web applications.
Page Settings
The Page Settings feature allows users to customize various aspects of their web pages, particularly in relation to branding, security, and domain management. This functionality enhances the user experience by allowing for personalization and integration of essential web components. - Favicon: A fav...
Page List Loop
The Page List Loop Element in Twidget is a powerful feature designed to enable dynamic repetition of UI elements based on a data source. By utilizing this component, developers can create interfaces that automatically display lists of content, allowing for more interactive and data-driven applicatio...
Element Actions
Element actions in Twidget are integral commands that can be assigned to user interface elements, enabling interactivity within applications. The actions are defined to respond to user inputs, primarily through triggering events associated with specific elements. Purpose of Element Actions. Element ...
Generating Form Pages
Generating form pages in Twidget enables the automatic creation of user input forms that can be utilized for various purposes such as lead generation, customer information retrieval, and interactive message boards. This functionality allows developers to directly map user inputs to form objects, whi...
Data Source Mappers
For Table elements, see [Page tables](/docs/pages/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...