Use navigation to set variables

Dear App Builders,

does someone know if there is any possibility to use navigation elements (like buttons) to set variables? I know it is possible to do it via the Custom Component “navigation-cell” but that can only be used within a table. Is there any way to do this outside a table?
I have an app with a lot of really similar pages, they just vary in a few minor parts which I could cover by variables. But as it is right now, I need a new page and layout for each of the pages which means a lot of code duplication.


Hello Magdalena,
unfortunately there is no native option to use variables by navigating between pages via elements. I will keep this in mind and talk to our Product Management about this.

As far as I understood this would now be possible by using variablesToBeUpdated within an Executon Button.
here is the docu: