Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to show notification on the parent macroponent

RahulNagar
Tera Contributor

I'm trying to show an error notification on the record page from a contextual sidebar page using "NOW_UXF_PAGE#ADD_NOTIFICATIONS", but the notification appears under the sidebar, not on the main record page.

1 REPLY 1

AttilaVarga
Kilo Sage
Kilo Sage

Hi @RahulNagar,

 

I have seen a similar issue when I wanted to show a notification from a custom component. I would recommend the following steps:

  • Create an event handler in the main page’s body element.

  • Define a client script that shows the notification.

  • Attach the client script to the event you created earlier.

  • Emit this custom event from the contextual sidebar page.