on 04-01-2009 7:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.