When editing a custom page, you can specify the HMTL and JS.
For more information on the endpoints available to communicate with the Medium One platform, see our API to IoT platform section.
- Page name: Name that appears on the nav bar for page if the page is in the nav bar. It is also the name that appears on the Dashboard Builder list.
- URL page route: Unique route for page without spaces
- Allow page for specific user role: Which kinds of users can access this page; super admin only, account admin/users, all users, or public. For more information on public pages, see Public Page or Page Tokens.
- For example, if you specify Super Admin, only Super Admin + Users can view this page - this is useful for creating custom admin pages such as analytics and metrics.
- Show page in navigation menu: Show page in nav bar for desktop, mobile, both, or neither.
- Allow page for specific account types: Which account types can access this page.
- For example, if you have account types "Distributor" vs end "Customer", this can be helpful.
- Allow page before and after account subscription: If page can be viewed before a user subscribes, after, or both. At least one must be selected, even if you do not currently require a subscription for your portal.
- Special page: Set page to be the header, sidebar, footer, or a service. For more information on services, see How to create a service. For more information on the other pages, see Custom Footer, Header, and Nav Bar. You can click "Load default" to load the default header, sidebar, or footer code.
Locking & Saving
When entering a page, you will see the following:
In order to prevent multiple developers from editing the same page, you need to request a lock on the page before making any edits and saving by clicking "Acquire lock to edit page". Once you have received the lock, you will see a message like this:
All fields are then enabled for editing and you may edit and save as you wish.
When you click "Save and Activate Dashboard", the dashboard will automatically be published. If you’re in development mode, we recommending developing on your DEV portal.