How to add an info message in list layout

G Balaji
Kilo Guru

Hello,

Is there any ways we could add info message to list layout?

Thanks.

1 ACCEPTED SOLUTION

Ahmmed Ali
Mega Sage

It depends on your use case. 

 

May be you can try adding before query BR on the table with gs.addInfoMessage();

 

Thanks,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

This Before Query Business Rule worked well for me.

(function executeRule(current, previous /*null when async*/ ) {

    // Add your code here
    var uri = gs.action.getGlideURI();
    if (uri.indexOf('list.do') > -1) {
        gs.addInfoMessage("Your message here");
    }

})(current, previous);