Pass data between views

Hi, I have a variable that all views need to have access to. For instance say it’s an Event and I have 2 views. Each view will display different pieces of data from that Event.

I can create a property for each view called Event and I know there is a method to Set Property of Current View but if I’ve selected an Event in view 1, then click the tab for view 2, how do I tell view 2 what event I have selected in view 1? I can’t reference one view’s properties from another view.

So how do I pass data from one view to another?

I’ll add I’m trying to do this using the built in tab functionality that automatically switches views for you, not the Go To View action where you can pass data to the view you are opening.

Thanks!

I too need to be able to pass data between views.

Why is this not possible?

Seems very limiting.

I understand you have different views for certain native styling and use cases.

But not all designs / apps are created equal.

For instance, click an item in a small list and it pass that value to the view then it navigates too.

A similar behavior as in Web.

It is possible and is described in detail in the documentation. It’s called the property of sight.

1 Like

Did you find this “sight” property that he refers to in the documentation?

I’m not sure what you’re referring to. I don’t see a “Sight” property on a view nor do I see anything mentioned in the mobile app documentation.

Perhaps you could send a link to this in the documentation, Thanks.

Property View!

Add a new propety to your view and assign whatever type of object you wanna pass through it and voila, it’s documented here : Open Doc

Thanks, that I was aware of but I can only reference the current view. If I want to pass data from one view to another how do I do that?

If you create the property, then you can pass data through it from the actions, something like this :

i hope this helps

Thanks, yes that helps. I don’t know why I didn’t see that before. Thanks again!

no problem, glad to help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.