cancel
Showing results for 
Search instead for 
Did you mean: 

Read single Input field and pass it second view

0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

ankurbabu1
Explorer
0 Kudos

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

Sharathmg
Active Contributor
0 Kudos

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

former_member484715
Contributor
0 Kudos

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