The CreatorCon Call for Content is officially open! Get started here.

Permanently delete OOB notification banner on new catalog item

xiaix
Tera Guru

How do I stop this banner from constantly showing up when I save or refresh the page??

 

xiaix_0-1760622754736.png

/now/nav/ui/classic/params/target/sc_cat_item.do

When I create a new catalog item, I get that banner.  I click the "x" to remove it, but when the page refreshes, it comes back.  I searched for UI Policies, onLoad client scripts, etc... but cannot find anywhere I can control the permanent deletion of that banner/notification.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@xiaix 

it comes from this OOTB business rule "Show catalog builder info banner"

It's read-only and you cannot control it

AnkurBawiskar_0-1760623233668.png

Try to set this property "glide.sc.cat_builder.promo_message.enable" as false

If that property is not there then create it with type as True/False and set as false

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

10 REPLIES 10

@xiaix 

I tried searching in co-pilot and got that response.

Surprisingly in my fresh PDI that banner message was not coming

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thank you for being honest in the use of AI.  Because of that honesty, i'm going to mark your initial reply as the Accepted Solution.  It was ultimately the Business Rule that was the culprit and I would have never guessed it if you hadn't pointed it out.

mujeebqasimi
Giga Contributor

@xiaix 
Just throw this little guy in your onLoad client script and it’ll shut up automatically.

Put it in Client script, type should be OnLoad

function onLoad() {
try {
var btn = document.getElementById('close-messages-btn');
if (btn) btn.click(); // bye bye banner
} catch (e) {}
}

Yep, seems like that's what I'll have to do.  Thanks for the tip.

xiaix
Tera Guru

I need the business rule "Show catalog builder info banner" deactivated in all of our instances. (/nav_to.do?uri=sys_script.do?sys_id=f9ec6c13ffb8221014d6ffffffffff1b) It's annoying, not needed, and ridiculous that we as admins cannot manually turn off this business rule ourselves.

Anyway, I created a HI support case (CS8649811) requesting this BR to be deactivated in all of our instances.  We will see what they do.  I mean c'mon, it's my instance, SN shouldn't be locking me out of turning off  a BR... especially a BR who's sole purpose is to advertise a notification banner... lame AF.