Add notification badge on the notification

Hello,   I am having a notification icon on a page layout for number of products added to Cart (Like in Amazon). Whenever a new product is added to cart i want to change the icon. But since the icon is on a layout i cannot add a dataview to call a microflow to get the number of products adde. Any idea on how to achieve this change of notification in the Layout?   Thanks, Guru
1 answers

Hi Guruprasad,

You cannot use dataview directly in layout but you can use snippet that contain your dataview. You can create a snippet, add you dataview / logic for notification in the snippet and call that snippet in your layout.


Hope this helps!