Skip to Content
0

Read single Input field and pass it second view

Jan 15 at 04:53 PM

57

avatar image

How to pass single input value from one view to another in ui5

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Sharath M G Jan 16 at 05:59 AM
0

The data is passed between views through the usage of variables in the model which are commonly bound to views. The concept of data binding ensures that data entered on screen is available in model and vice versa.

Using the same model in another view will ensure new view has the same data.

Regards,

Sharath

Share
10 |10000 characters needed characters left characters exceeded
Arjun Biswas Jan 16 at 03:27 AM
0

Hi Mahimna ghanekar,

You can either use the concept of local storage or, you can pass the value as an argument to a function. Could you elaborate some more on your requirements.

Regards,

Arjun Biswas

Share
10 |10000 characters needed characters left characters exceeded
Ankur Babu Jan 19 at 02:49 PM
0

You can use either to two ways:

1. Using routing: Pass the parameters in navTo function while navigation from first view to second.

2. You can use sap.ui.datatransfer to transfer values

Regards,

Ankur

Share
10 |10000 characters needed characters left characters exceeded