Skip to Content
0
Former Member
May 12, 2016 at 02:04 PM

Pass data from one View to another view

2260 Views

What is the recommended approach to pass data from one view to another view.

The data is binded to View1 and i am trying to fetch the data from view2 via var view1text = sap.ui.getCore().byId("textbox1").getText(); but not working.

I read from old blogs that event bus can also be used to pass data from view 1 and receive in view 2.

Are there any other approaches ?.please suggest with example codes

I need to fetch only 3 fields from view 1 to display in view 2

Appreciate your suggestions