- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2019 11:26 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2019 11:30 PM
It depends on your use case.
May be you can try adding before query BR on the table with gs.addInfoMessage();
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2019 11:30 PM
It depends on your use case.
May be you can try adding before query BR on the table with gs.addInfoMessage();
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2019 01:38 AM
Thanks for the response.
The requirement is to show the message only in the list layout. However, if I use Before query BR, message is showed when the form is displayed on that table or even background script is executed on that table.
What would the relevant function call to limit this business rule run condition to list layout only.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2019 11:40 PM
Hello Balaji,
Just insert gs.addInfoMessage('Your message which is to be displayed') in you business rule/client script based on your requirements.
This will display the Info message in list view.
Thank you
Mark it as Correct/helpful if this helps you.
Regards,
Shubham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2019 11:41 PM
Hi, Balaji,
You can write a Before BR for achieving this.
When To Run:
When: before
If you want to display the message always check all the checkboxes(insert, update, delete, query).
Advanced:
Write the below script.
(function executeRule(current, previous /*null when async*/) {
var c='What ever message you want to print';
gs.addInfoMessage(c);
})(current, previous);
Mark it as correct or helpful if this helps.
Thanks
Veer