Support Article
NBAA application removing filter when selecting item from tab
Summary
User has Next Best Action (NBA) application in tab based for all the products and in the tabs there is a filter mechanism. So if for example the user filters on just TV add-ons, only those products will show in the list. The user then selects one of those TV add-on products and it goes into the basket. The moment the add-on is selected the tab refreshes and the filter is lost. Here user has to go through the same steps again to create the filter to show the list on TV add-on to select for the customer.Error Messages
No error message.Steps to Reproduce
1. Filter on a specific product.
2. After selecting the product the tab gets refreshed.
3. Observe that all the products are displayed and the filter is cleared after refresh.Root Cause
This is an expected behavior and the out-of-the-box NBAA application clears the filter whenever there is a tab refresh happening after selecting a product. This is as per the current design.
However, if the user do not wish to refresh any particular tab, then developer could do so by setting the “RefreshPropLists” attribute to false for the products belonging to this tab, so that the filter does not gets cleared.Resolution
Here is the explanation for Proposition refresh in the Negotiation tabs:
The refresh Budget and refresh Proposition list flags on the individual Propositions are set to describe what should happen in the event that a Proposition is selected or deselected. There are many scenarios which describe the need for the system to respond with a different Proposition set once a specific Proposition has been selected or deselected. For example, Propositions may be incompatible, additional Propositions may become eligible, or terms and conditions may change. NBAA addresses these issues by refreshing the Proposition lists and the Budget information.
With this refresh mechanism in place, NBAA can react to the events that take place during the user interaction. Specifically, Proposition sets can change because certain Propositions become available and others may become invalid.
Published May 19, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.