cancel
Showing results for 
Search instead for 
Did you mean: 

How to Sync within MAM?

Former Member
0 Kudos

Hello,

Is it possible to call the sync functionality that resides in the MI Client from a MAM application? What we want to do is that within our MAM application, the user can click on a "Sync" button instead having to return to the MI Client to sync. Currently, the code for the MI Client is not available. Is this posisble? Have anyone tried this? Any help or suggestions are appreciated.

Many thanks!

Jeffrey

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Jeffrey,

MI exposes an API for this. You have to call the SyncManager.getInstance().synchronizeWithBackend() method.

This performs a complete synchronization for the current user.

For more information on this API look into the following link

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/068e21ce-0a01-0010-4f8f-f37...

SyncManager class