Is it possible to return a list from web-block to parent?

Is it possible to return a list from web-block to parent?

  

Is it possible to return a list from web-block to parent?

Hi Sekar,

Are you devoloping a web or mobile app? Which platform version?

HI Joao,

Web application  and Service studio version 10.0.609

Solution

On web apps you can pass a list to a web-block. All changes will be made on the original list (list won't be copied).

Solution

João Neves wrote:

On web apps you can pass a list to a web-block. All changes will be made on the original list (list won't be copied).

Thanks joao


João Neves wrote:

On web apps you can pass a list to a web-block. All changes will be made on the original list (list won't be copied).

Hi João,

Is it the same for mobile ?

I want to have some sortby features on my mobile app.

Example like this


No, in mobile you have events on web-block that allow you to pass information from the web-block to its parent.

Hi João,

Any example ? I only imagine it can be by using output parameter, but it seems there is output parameter in block.

Thanks in advance.

Add an event to the block and create an input parameter on that event. That input will allow you to pass information to the event handler.

Check out this for more information: https://www.outsystems.com/learn/lesson/807/blocks-and-events/