Question

How Highlight a record in Mobile

Hi Community,

Currently we are able to highlight a record in CRM using this link below

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-highlight-record-list-color?_ga=2.89657375.523663225.1570947724-2141190757.1552748216

Any idea how can we possibly apply the same in mobile application?

Thanks

Like

3 comments

Eugene Podkovka,

Thanks Eugene

We need to highlight records based on condition same as like this
 

prepareResponseCollectionItem: function(item) {
                // Calling the base method.
                this.callParent(arguments);
                item.customStyle = null;
                // Determining the order status.
                var running = item.get("Status");
                //If the status of the order is "In progress", the record style changes.
                if (running.value === OrderConfigurationConstants.Order.OrderStatus.Running) {
                    item.customStyle = {
                        // The text color is white.
                        "color": "white",
                        // The background color is green.
                        "background": "#8ecb60"
                    };
                }
            }

How can I achieve it in mobile application?

 

Fulgen Ninofranco,

Unfortunately, I don't have examples. Please check the development guide and the article mentioned in the post above. 

https://academy.bpmonline.com/documents/technic-sdkmob/7-12/bpmonline-development-guide

Log in or register to comment