refresh webblock (Mobile)

refresh webblock (Mobile)

  

How to refresh a webblock without changing an input parameter? Is it possible or i have always to do with an input parameter?

Hi Filipe,

If it's a Mobile App, then the moment you change values or refresh the data that is on the screen or block, it will refresh that piece of data on the screen.

The OnParametersChange is used if for example some query depends on the input parameter. Since, its the data from the query and not the actual input parameter that is displayed on the block, you need to refresh the query. And that is done on the OnParametersChange event.

Cheers,

José

Hi Filipe,

If you ar in a client action on a screen containing a webblock. And data of webblock needs to be refreshed, you can only trigger this via a change of input parameter value. If non of the existing input parameter values actually change, you need to add a new parameter, for example a an Integer call ChangeCount and change it's value.

This will trigger the OnParameterChange of the Webblock. 


Solution

Hi Filipe,

Yes it is possible, you can call a block action directly from the page itself without messing up the input parameters.

Take a look here.

Hope it helps

Solution

Henrique Batista wrote:

Hi Filipe,

Yes it is possible, you can call a block action directly from the page itself without messing up the input parameters.

Take a look here.

Hope it helps

Nice!