cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDK Second Offline OData Problem

R4BB1T
Participant
0 Kudos

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
		}
	]
}

 

Accepted Solutions (0)

Answers (0)