on 11-27-2014 12:39 PM
Hi All,
When working on the offline capabilities ,Im getting the following error .
Im using the following URL:http://SERVER HOST /com.sap.test.demo/read_cust/?$filter=IKunnr eq 'xxxxx'
.
And i created the defining request as follows:
options.definingRequests[@"req1"] = @"/read_cust";
As per my knowledge , the problem is related with defining the request.
So please help me out ,how to define a request for the above url?
ERROR:
Open Failed:Error Domain=NetworkDomain Code=2 "[-10060] An error occurred while performing a synchronization.
Reason: -857 (ERROR) %1:[-10225] Message: Failure occurred while executing user supplied code" UserInfo=0x7fa4b165e8d0
{
NSLocalizedDescription=[-10060] An error occurred while performing a synchronization. Reason: -857 (ERROR) %1:[-10225] Message: Failure
occurred while executing user supplied code
}
Thanks,
Praveen Kumar Addiki.
Tags edited by: Jitendra Kansal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
You have to define the query when you are creating the offline store.
Ex.
definingRequests : {
contacts : "/ContactSet?$expand=ToContactDetails",
}
Regards,
Midhun VP
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.