Skip to content

Mission 9 - Multi Page Apps

Estimated time for completing this mission: 15 mins

Learning Objective

Learn to use multiple pages for your app using the header menu.

Background Information

In order to build complex apps it can be useful to create multiple pages.

BLOX used in this mission:

Logic BLOX

App Templates

  • Table
  • Chart
  • Panel
  • Button (2x)

Goal

startBlox

Chart Page

startBlox

Table Page
  ![startBlox](/assets/static/module5/mission13/create_new_page.png)
  <figcaption>Create new page</figcaption>
</figure>
  1. Place two Button templates into the header area on top of the canvas
  2. Double-click on the first button, click Add Action, then select action "Go to Page" and choose the first page in the second dropdown
  3. Double-click on the second button, click Add Action, then select action "Go to Page" and choose the second page in the second dropdown

    startBlox
    Connect button to page

  4. In the first page, drag a Chart template onto the canvas

  5. Bind the Chart template to the FinalData database. For detailed instructions on binding data sources, refer to Mission 1: KPI Dashboard

    startBlox
    Chart configuration

  6. In the second page, drag a Table template onto the canvas

  7. Challenge: Bind the Table template to the MyProjects database

    Hint

    Select MyProjects in the "Data Source" setting of the table settings.

  8. Run the app and test the navigation buttons to switch between pages

Results and Summary

Resulting App

Well done! Now let's move on to the next mission!