Routing in SAPUI5: How to implement passing of URL? Model data not initialy loaded -
my goal write sapui5 fiori app routing support. 1 mail goal have passable urls. example in e-mail "please approve this: link ". link url matched rounting config, e.g. index.html#/applicants/8 . i use typical sap.m.splitapp kind of application. clicking list item in masterview changes url index.html#/applicants/[id of entry in json] . can click on list, defined routes getting matched , apps loads (applicant) data expected. however, , here comes question, doeas not work when using url directly, pasting [my url]/index.html#/applicants/8 browser. app launched no detail data loaded. have click on list item again data. actually, controller called when passing url, seems model not initiated , undefined. json model bound in createcontent function of component.js // update 2015-05-14 problems seems around getdata() function. have model, has entries, getdata() returns undefined first time app loaded. read getdata() deprecated. how should improve coding below? // com...