update element in mobile bottom bar item from another screen

update element in mobile bottom bar item from another screen

  

Hi,


how can i update element in mobile bottom bar menu icon from other screen ?

let's say i have cart icon badge on my bottom bar menu. the badge is count from order aggregate.

in my screen make order, when i press submit, it will create data to order aggregate and refresh the badge on bottom bar menu.



thanks.

Hi Tobit,

Is this a mobile p10 app or web app?

Hi, I work with Tobit right now.

We are using mobile P10 app...

Solution

In order to refresh the block you have to create an input parameter. When the input parameter changes the block will be re-rendered. If you have an aggregate inside the block to get the number of orders, refresh that aggregate in the OnParameters change event of the block.

Solution

ok tq Joao