Skip to Content

SyncBO upload sequence

Hello!

Im having difficulties in our MAM25 based application regarding the upload and download sequence during synchronization.

In standard MAM, when you create an order and a time confirmation, during sync, the order is created first, then the time confirmation will get processed. Our application tries to process the timeconfirmation first (and we dont understand why) and then tries to process the new order. Ofcourse this will fail because the parent of the timeconfirmation is not available at that time.

The merepmeta.xml of standard MAM25 and our merepmeta.xml do not differ very much regarding order and timeconfirmation. In both cases, 001 is a S01 and 005 is a U01 and the order comes first.

A couple of questions rise:

- why does the application send the 005 first and then the 001 ?

- how does the application determine what order to follow during sync ? (because when you change the XML file within the application after initial installation, this change is not reflected during the sync - and yes the application has been deployed after the change). Is the sequence stored in the application persistance?

With regards,

Mike

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 26, 2007 at 10:44 AM

    Hi Mike,

    <<

    - why does the application send the 005 first and then the 001 ?

    - how does the application determine what order to follow during sync ?

    >>

    While creating the MCD, in the SyncBo tab, against the SyncBO ID we have installation order.This installation order plays an important role while synchronizing.

    Depending upon this installation order, the inbound requests for particular syncbos will be sent to the MI Server.These inbound requests inturn execute the generated function modules associated with each of the syncbos.So in your case just check whether the installation order of the 005 is higher than that of the 001 or not.

    We may have number of syncbos.Out of these syncbos, the syncbo with the installation order value '1' will be the first syncbo which send the request for backend processing to the middleware.

    So if you have assigned installation order to the syncbos present in your application(MCD), the syncbos will be processed depending upon the installation order values.

    just check these things...

    Regards,

    Kishor Gopinathan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Mike Overmeijer

      Hello,

      So to start from the beginning:

      - Create a MCD with the SyncBO you want and provide the sequence you want (latest MI is creating the sequence for you)

      - Export the merepMeta.xml file to your MAM project.

      - Create the war/sda file based on that

      - Upload and deploy it the the device

      - Run the initial synchronization.

      When changing the merepMeta XML file you have to reinstall the device. The file is read when installing the mobile application on the device. This is really important, otherwise you will stick to the previous XML data.

      I hope this can help,

      Julien.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.