Embedded Page Widget
This widget type belongs to the Basic category in the widget library. It enables you to call a child page from another page in the same app (also known as a parent page), and to display it within the parent page.
- Modifications made to the child page will automatically be displayed in the parent page.
Notes
See General remarks on widgets.
- The child page must belong to the same app.
- The entire child page is displayed. You cannot select a specific zone in it.
- Parent pages and child pages cannot call themselves.
- A parent page can be the child page of another page.
- A page can be the child page of several parent pages.
- Although a given child page may be called several times in a page, it will only be loaded once.
- To improve performance, child pages are not visible in the graphic editor. They are visible only in execute mode.
Operating principle
(1) A, B and C are three pages created in an app.
(2) Page B is made up of two child pages, A and C.
(3) Page A is made up of two child pages, D and C.
(4) Page A (with child pages D and C) is called by parent page B. It will thus become the child page of page B.
Best Practice
- Using this widget enables you to restrict the number of elements that are recurrently created in app pages, reduce the number of pages to be maintained, and improve performance.
- Use the Sidebar widget if you want to display the child page in a pane that users can show or hide as required in the parent page.
Example
- Display in the graphic editor: the child page is not visible.
- Display in execute mode: the child page is visible.
List of properties
Content
Page: List of app pages. Select the child page to be displayed in the parent page.
- The message, "The page ... will be displayed in run mode" will appear. Switch to execute mode to preview the child page in the parent page.
Theme
See the description of properties.