Skip to Content
Jan 08, 2015 at 02:40 PM

how to validate login values and navigate to another view in sapui5 mobile application


Hi Experts,

I am a crm consultant recently i shifted to ui5 project and i'm new to sapui5 development i got a requirement in which i need to develop a mobile application based on user log in i have to display user details.

i have designed a log in page based on java script view.

view is looking like this..

when i click on log in button i have given alert.

my question is how can i adjust the log in page like this..

and instead of alert how can i validate the user name and password using oData concept and then navigate to details view (page2).

if you don't mine please provide the step by step procedure how to achieve this.

this is my view.js code

Thanks & Regards,



mobileapp.JPG (15.3 kB)
loginpad.JPG (8.4 kB)
viewjs.JPG (29.9 kB)