Notifications
The Mini Program platform supports notifications. Tenant workspace admins can send alerts, updates, and events in a timely and efficient manner to tenant workspace members, technical merchant members, non-technical merchant members, and ISV members by using the notification feature.
This topic guides tenant workspace admins on how to publish notifications and manage existing notifications on the Mini Program Platform.
Prerequisites
- Only tenant workspace admins can publish and manage notifications.
Note: If tenants need to restrict the notification feature to specified admins, contact technical support.
Publish a notification
The notification publishing process consists of the following steps:
Figure 1. Workflow of notification publishing
Step 1. Create a notification
Perform the following steps to create a notification:
- Log on to the Mini Program platform as a tenant workspace admin.
- Click the
icon in the upper right corner of the platform.
- On the Notifications page that appears, click Create Notification.
Figure 2. Notifications page
- On the Create Notification panel. Configure the parameters and click Create.
Figure 3. Create Notification panel
The following items describe the parameters:
- Notification Type: Select a notification type. Options:
- Announcement: Announcements are displayed as notification bars in the top areas of recipients' workspaces in the specified time period.
- Recipients: Select recipients of the notification. Options:
- Tenants
- Technical Merchants
- Non-technical Merchants
- ISV
Note: The recipients available for tenants to choose from may vary.
- Title: Enter the title of the notification.
- Content: Enter the content of the notification. Rich text formatting is supported.
- Notification Time: Specify the time period to publish the notification.
The notification is successfully created and enters the Created state. You can find the notification in the notification list.
Step 2. Whitelist test
After the notification is created, you must submit the notification for whitelist testing before it is officially published. During the test, the notification is sent to the whitelisted recipients for preview. Whitelist testing ensures that the notification meets your requirements.
Follow the following steps to perform the whitelist test:
- On the Notifications page, find the notification you have created.
- Click Whitelist Test in the Actions column.
- In the Whitelist Test dialog box that appears, enter testers (email addresses) in the Testers input box and click Save.
Figure 4. Whitelist test
The notification enters the Whitelist Testing state and is sent to the specified testers as an announcement. During the whitelist test, you can click Whitelist Test in the Actions column to view and modify testers. For example, you can remove an existing tester or add a new tester to the whitelist test.
- After the whitelist test, click Finish Whitelist Test in the Actions column to complete the whitelist test. In the Finish testing? message that appears, click Finish.
Note: After the whitelist test, you can click View Whitelist to view the whitelist testers.
Step 3. Submit and publish the notification
After the whitelist test, the notification is automatically submitted and enters the Submitted state. When the specified start time is due, the notification is automatically published and enters the Published state. When the specified end time is due, the announcement is no longer displayed.
Figure 5. Announcement example
Modify a notification
A notification can be modified after it is created and before it is submitted. Notifications cannot be modified after they are submitted or published.
To modify a notification, perform the following steps:
- Find the notification that you want to modify on the Notifications page.
- Click the notification title or click View in the Actions column.
- In the Notification Details panel that appears, click Modify.
- On the Create Notification panel, modify the parameters based on your business requirements and click Modify.
Delete a notification
A notification can be deleted after it is created and before it is submitted. Notifications cannot be deleted after they are submitted or published.
To delete a notification, perform the following steps:
- Find the notification that you want to delete on the Notifications page.
- Click Delete in the Actions column.
- In the Delete the notification? message that appears, click Delete.
Withdraw a notification
After a notification is submitted or published, you can withdraw the notification if you no longer want to publish the notification.
To withdraw the notification, perform the following steps:
- Find the notification that you want to withdraw on the Notifications page.
- Click Withdraw in the Actions column.
- In the Withdraw the notification? message that appears, click Withdraw.