How to invoke method in OpenUI while clicking on next record
Hi,
[Background]
We have one Open UI requirement to show a "Favorite" star in front of the account name in one account form applet.
1. The Star will be marked in yellow if this account is a favorite account.
2. The favorite flag was stored in Account BC
[As of now implementation]
1. In Applet server script PreInvokeMethod, there is the definition of "ShowFavourite" method. which go through account BC and query the flag in BC, then store it in ProfileAttr
2. In postload.js file, we invoke the method "ShowFavourite" (defined in server script) in case applet != null. And then get the ProfileAttr to decide whether populate the star with yellow or blank