Using a Blocks Dashboard Page URL in a Blocks Custom Panel
1 min read
If you want a Blocks Custom Panel to open a Blocks Dashboard page, you need to provide the URL of the Dashboard Page.
To find the Dashboard URL:
- Click the More Actions icon next to the Dashboard page's name in the App Dashboard menu.
- Copy the URL.
To use the Dashboard URL in a Panel:
1. Go to the code section of your panel in the Blocks Panel tab.
2. Import the `wix-editor` module.
3. Use the `openDashboardPanel()` function with the correct URL. For example:
1import wixEditor from 'wix-editor';
2wixEditor.openDashboardPanel({url: 'app/771680a8-ad76-4a3c-8bfc-4e2873de96c9'});
Did this help?
|