Announcement on portal

Soni Rahul
Tera Contributor

Hi ServiceNow family,

We have a one requirement where we need to attach one announcement on portal but only on one page of portal not on all pages of portal, so can you please guide how we can do this.

 

Thanks.

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Soni Rahul 

 

OOTB, it will be for all pages OOTB.

 

AGLearnNGrow_0-1709632123580.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Sohithanjan G
Kilo Sage
Kilo Sage

Hi @Soni Rahul 

 

In ServiceNow, there is no out-of-the-box feature to limit an announcement banner widget to display only on one specific page of a portal. By default, widgets are meant to be added to a portal globally, meaning they will appear on all pages within that portal.

However, there you can try below workaround -

 Create a custom widget that displays the announcement banner and includes a condition in the widget's client-side JavaScript to check the current page URL. If the current page matches the specific page where you want the banner to appear, then display the banner; otherwise, hide it.

Please mark as Accepted Solution if this solves your query and HIT Helpful if you find my answer helped you. This will help other community mates too..:)