We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

addInfoMessage() through catalog client script on protal.

Kevin Smith2
Giga Expert

Hello everyone,

Is it possible to addInfoMessage() through a catalog client script in portal ?

When a particular catalog is loaded, then I want to show a message.

Thanks

Kevin

1 REPLY 1

nataliya_b
Tera Guru

have you tried to create catalog ui script with type all and than have

g_form.addInfoMessage('This is Test');

In the portal, it would be placed on the top of the page, not sure if it is what you want