cancel
Showing results for 
Search instead for 
Did you mean: 

MDK ODataService UpdateEntity Action Batch Update ?

0 Kudos

Hi,

I am developing an MDK Application where I required to update an array of entity on offline data base,

ODataService UpdateEntit Action is only updating single entity,

https://help.sap.com/doc/69c2ce3e50454264acf9cafe6c6e442c/Latest/en-US/docs-en/reference/schemadoc/A...

Is it possible to multiple entity using single action ?

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Update Entity can only target an individual entity. If you want to create a batch when sending to the backend you can wrap all your updates in a change set in MDK.

0 Kudos

can you please share any example of it , if any tutorial or documentation is available please share.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I don't have any examples ready to go but you should be able to define your change set action with a single item (your rule) that will loop and call the necessary update entity actions. The results should be sent as a batch to the backend.