How to get data back from viewctrl.dismiss?

Hello!

My question is simple but I have searched and don’t find a solution yet.

After I open a form page (not in a modal page), I want to send the data back to the parent page, using ViewCtrl.dismiss.

The question is: how to get the data sended by ViewCtrl.dismiss in the parent page?

Thanks.