Dashboard Pages are the back-office of your app, allowing site builders to manage the app's data and settings. You can see examples of Dashboard Pages in the Wix apps, such as Stores and Bookings.
Read our UX guidelines to build useful and successful Dashboard Pages.
To see examples of dashboard pages, open the following templates and go to the App Dashboard tab.
To add dashboard pages to your Blocks app:
The Dashboard Page you created includes:
You can impact how users see your app's Dashboard Pages in their site menu. Click the More Actions icon next to the page's name to rename, reorder or hide it from the menu.
Naming rules:
Use your Dashboard Page's code section to add code to your Dashboard Page. Your code can include:
To add code to your dashboard page, open your dashboard page and go to its code section (if you don't see the code section, click the Maximize icon).
One of the most common ways to open a Dashboard Page is from the Main Action Button in one of your widget's Action Buttons. To do this:
Adding a link to the Dashboard Page from a custom panel enhances its visibility and accessibility for users.
wix-editor
module to open the page using code. See code exampleNavigating between your Dashboard pages can create seamless workflows, such as a step-by-step wizard. Use the wix-dashboard
module to lead users from one Dashboard Page to another. See code example
A common scenario for passing information between dashboard pages, is when you create two dashboard pages: one displaying a list and the other dedicated to individual items from that list. This can be done using the wix-dashboard functions.
To send specific data to the destination dashboard page, use the relativeUrl
parameter in the navigate()
function. For example, pass a specific item ID to create a dynamic experience on the destination page.
On the destination page, use the data passed to the observeState()
callback function to dynamically update the page's content. The callback is triggered both when the dashboard page is initialized and whenever it is updated.
You can also add self hosted dashboard extensions from the Dashboard Interface.