Adding a message module | HCL Digital Experience
You can add a message module that displays system messages, such as error, warning, or informational messages, at the beginning of the page.
Procedure
-
Add the
st_notice
property to your profile. -
Call the
newNotice()
function to display a message from your JavaScript. Enter a title and description, where title is the header of your message and description is the body of your message. If the body of your message is long, you can insert<br>
elements so that the text wraps.