Hi ,
I am passing parameters from my rho mobile application to rhoconnect server in the following manner:
Rho.RhoConnectClient.doSyncSource('Operator',false,"param1=abcd¶m2=efgh¶m3=ijkl");
OR
Rho.RhoConnectClient.doSync(true,"param1=abcd¶m2=efgh¶m3=ijkl",false);
When sync is performed this data is accessed in my rhoconnect server model in the query method as shown below :
console.log("Query Response params LanId -----------" , resp.params.param1);
console.log("Query Response params UN -----------" , resp.params.param2);
console.log("Query Response params pwd -----------" , resp.params.param3);
This works fine only in the query method.
However when data is changed in either by updating the model or delete data in the model and a sync is performed, query parameters are not accessible in my update and delete methods of rhoconnect server respectively.
Rhoconnect log :
param1 ----------- undefined
param2 ----------- undefined
param3 ----------- undefined
Any help regarding this would be greatly appreciated.
-Aamir
0 Replies