Forum Post: RE: Starting Rest Manager

Status
Not open for further replies.
M

meyrick

Guest
I have the mobileService. The app is loading through passed the code, which it wasn't doing before but there's no data being returned to a simple list item for a look up. This is the code i am using on the first page: if ($t.ProgressSession == undefined || $t.ProgressSession.loginResult != progress.data.Session.LOGIN_SUCCESS) { var settings = MyTestService_beCustomer_Settings; var pdsession = $t.ProgressSession; if (pdsession == undefined) pdsession = $t.ProgressSession = new progress.data.Session(); if (settings.serviceURI == undefined || settings.serviceURI == '') console.log("serviceURI was not specified." + " catalogURI: " + settings.catalogURI + " resourceName: " + settings.resourceName); var loginResult = pdsession.login (settings.serviceURI, "", ""); if (loginResult != progress.data.Session.LOGIN_SUCCESS) { var msg = 'ERROR: Login failed with code: ' + loginResult; console.log(msg); alert(msg); return; } pdsession.addCatalog(settings.catalogURI); }

Continue reading...
 
Status
Not open for further replies.
Top