cancel
Showing results for 
Search instead for 
Did you mean: 

Avoid Upload of U01 SyncBO in MI 7.0

Former Member
0 Kudos

Hi all,

due to business reasons we want to somehow avoid the upload i.e. synchronization of a U01 SyncBO.

This means that we want to create SyncBOs in the mobile application, but to avoid the synchronization of exactly this SyncBO up to a certain point.

Is this possible to somehow control within the MI client API?

Best regards and thanks in advance

Dietmar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dietmar

From a Mobile application usage point of view, I really don't understand why you wish to prevent the upload since this has its own advantages. But your business needs might want to do it. You can achieve this by modifying the meRepMeta.xml file(Sync BO definition file). Open this file for edit and go to you SynBO tag for which you wish to preven the upload and append the following tag

suppressUpload="true"

For example

<SyncBO id="TestSyncBO" version="1" type="timedTwoWay" allowCreate="true" allowModify="true" allowDelete="true" reqDirectSync="false" suppressDownload="false" suppressUpload="true" downloadOrder="1">

But once you do these changes, you will have to Reset the client data so that the new model gets defined in the DB. This approach should work but this means that every time you change the definition of the xml file, you will have to reset the client data and trigger download of initial data again and again. Apart from this approach there is no means by which user can decide whether upload should be stopped or not. But this same is not true for download. You can prevent the download for data during every sync by using the Suppress data download option (This is just FYI.)

Best Regards

Sivakumar