Surge Modal Redirect
Handle high concurrency events on the employee portal home page by showing a pop-up modal if there's a live company event.
Before you begin
- Role required:
- sn_cd.content_admin
- sn_cd.content_manager
About this task
A redirect is implemented on the Employee Center Pro home page when a company event has been activated on the portal and meets or exceeds the surge traffic threshold for that event. This is intended to direct users to the relevant company event.
The surge modal redirect improves performance by providing a modal that intercepts the portal home page early to prevent calls before other widgets and mega menu items are loaded.
Note:
This feature works when there’s a live Company Events scheduled.
Procedure
Note:
For customized portal themes, the surge modal is not displayed unless the same UI script on m2m_sp_theme_js_include is added. Out of the box themes
already have the UI script.
Note:
Content Admin is required to create a company event.
Note:
A scheduled job runs every night to check for company events that are going live in the next 30 hours and populates the audience group with users who have permission to see the event.
Note:
For customized themes, check that it has the UI script in m2m_sp_theme_js_include. Check that the employee center header widget used in the portal has the updated server
script storing data.
Note:
The surge modal intercepts the employee portal home page before the usual widgets and navigation menu load. If you choose not to see the modal, it 's not shown again unless you log out
or use in a different browser.