Hi,
I need to validate the logon credentials when user clicks the login button. If credentials are valid, we need to
route it to the next view/page.
I'm consuming the ODATA service using the below syntax.
var userID = oTextField1.getValue();
var password = oTextField2.getValue();
var oModel = new sap.ui.model.odata.oDataModel("URI", false, userID, password);
Now I need to capture the error and success message after creation of model. Can anyone tell me the syntax?
Regards
Nidhi