on 03-03-2021 6:17 PM
Hi,
I'm implementing partial uploads in my SAP MDK offline application.
I have the following configuration on the offline upload action:
{
"ActionResult": {
"_Name": "upload"
},
"ActivityIndicatorText": "Uploading",
"OnFailure": "(...)",
"OnSuccess": "(...)",
"Service": "/mobileapp/Services/MyService.service",
"ShowActivityIndicator": true,
"UploadCategories": [
"FinalRequest"
],
"_Type": "Action.Type.OfflineOData.Upload"
}
The problem is that this action is uploading all Categories instead of only the "FinalRequest" one.
The following requests are also being sent to the service.
{
"ActivityIndicatorText": "Saving",
"OnFailure": "(...)",
"OnSuccess": "(...)",
"Properties": {
(...)
},
"RequestOptions": {
"UnmodifiableRequest": false,
"UpdateMode": "Replace",
"UploadCategory": "IncompleteRequest"
},
"ShowActivityIndicator": true,
"Target": {
"EntitySet": "MyEntity",
"ReadLink": "{@odata.readLink}",
"Service": "/mobileapp/Services/MyService.service"
},
"_Type": "Action.Type.ODataService.UpdateEntity"
}
I'm currently using the MDK version that is deployed to the Android Store
Can someone help me configure the partial Uploads?
Thank you.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.