on 02-20-2024 3:12 PM
I have two Initialize OData. When the second Init finish, the data is download but I can't see it. There are no problem if I use just one Initialize action but I need two because is dynamic and I need the user information.
Another relevant information: I Use a 2 download action(Action.Type.OfflineOData.Download) and I don't have this problem.
{
"_Type": "Action.Type.ODataService.Initialize",
"ActionResult": {
"_Name": "init"
},
"OnFailure": "/pm_project_mdk/Actions/Service/InitializeOfflineFailureMessage.action",
"OnSuccess": "/pm_project_mdk/Actions/Service/InitializeOffline2.action",
"ShowActivityIndicator": true,
"ActivityIndicatorText": "Initializing Master data step 1...",
"Service": "/pm_project_mdk/Services/PM_Project_MDK.service",
"DefiningRequests": [
{
"Name": "Usuario",
"Query": "/pm_project_mdk/Rules/Usuario/CustomUsuario_InitializeOffline.js",
"AutomaticallyRetrievesStreams": false
}
]
}
The second
{
"_Type": "Action.Type.ODataService.Initialize",
"ActionResult": {
"_Name": "init"
},
"OnFailure": "/pm_project_mdk/Actions/Service/InitializeOfflineFailureMessage.action",
"OnSuccess": "/pm_project_mdk/Actions/Service/InitializeOfflineSuccessMessage.action",
"ShowActivityIndicator": true,
"ActivityIndicatorText": "Initializing Master data step 2...",
"Service": "/pm_project_mdk/Services/PM_Project_MDK.service",
"DefiningRequests": [
{
"Name": "Area",
"Query": "Area?$filter=id eq '03'",
"AutomaticallyRetrievesStreams": false
}
]
}
User | Count |
---|---|
104 | |
12 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.