Wix Bookings: Staff Page
The Bookings Staff page has 3 plugin slots. Slots are the placeholders in the UI for plugins. The slot ID is the value for the required extends
field when configuring the plugin in the Wix Dev Center.
Location in Dashboard
Settings > Booking Settings > Staff
Dashboard plugin slots
The Bookings Staff dashboard page features a plugin slot positioned at the top of the page.
Use the following slot ID for the extends
property when configuring your plugin in the Dev Center:
Staff page plugin slot ID: 261e84a2-31d0-4258-a035-10544d251108
For example:
1
Important: The hosting platform must be "BUSINESS_MANAGER".
Interaction between the dashboard page and your plugin
To interact with and retrieve data from the dashboard page use one of the following functions:
withDashboard()
from the dashboard-react SDKobserveState()
from the dashboard SDK
This slot passes the following parameters:
staffResourceId
scheduleId
timezone
1
1
Multiple dashboard plugins in the same slot
Plugin slots can host multiple plugins.
The dashboard plugins are displayed one on top of the other and ordered by date created, with the most recently created plugin displayed at the top.
Wix APIs
You can implement logic in your plugin using the Wix Bookings APIs:
Dashboard menu plugin slots
The Bookings Staff page features 2 dashboard menu plugin slots.
One dashboard menu plugin slot is found in the main more actions menu:
Use the following slot ID for the extends
property in your dashboard menu plugin's configuration in the Dev Center:
Main more actions menu slot ID: 3ad7e6d2-35ce-45c1-ab59-64c51b60a104
The other dashboard menu plugin slot is found in each staff member's more actions menu in the Staff list:
The target page or modal can retrieve dashboard page data using the withDashboard()
function from the dashboard-react SDK or the observeState()
function from the dashboard SDK.
This slot passes the following parameters:
staffId
staffResourceId
Use the following slot ID for the extends
property in your dashboard menu plugin's configuration in the Dev Center:
Staff more actions menu slot ID: 884a208a-7c23-4641-856a-d6561ed4c64b
For example:
1
Important: The hosting platform must be "BUSINESS_MANAGER".
Multiple menu plugins in the same slot
Menu plugin slots can host multiple plugins.
The menu plugins are displayed one on top of the other and ordered by date created, with the most recently created plugin displayed at the bottom.
Slot IDs
Slot | ID | Parameters |
---|---|---|
Staff page plugin slot | 261e84a2-31d0-4258-a035-10544d251108 | staffResourceId , scheduleId , timezone |
Main more actions menu slot | 3ad7e6d2-35ce-45c1-ab59-64c51b60a104 | |
Staff more actions menu slot | 884a208a-7c23-4641-856a-d6561ed4c64b | staffId , staffResourceId |
See also
- About Dashboard Page Slots
- About Dashboard Plugin Extensions
- Add Self-hosted Dashboard Plugin Extensions
- About Dashboard Menu Plugin Extensions
- Add Dashboard Menu Plugin Extensions