Hi .....in a program i have View1 and View2 .
1. In View1 -------> Input field and button is there.
2. I want when user insert data in the field data should get pass from View1 to View2.
on the click event of button i have use this code in controller.js but its not working,variable oValue not getting anything.
OnPress() {
var oValue = sap.ui.getCore().byId("Input_id");
}