Re: Live Sync custom registers and blocks.
12-19-22
Hello.
SynchronizationIndex; not working with NewAutosyncRegister(kSyncDirectionFull,true); because this function already added this index to main key. Compilation get error:
Key SyncIndex already exists on register SomeRegVc


I found that NewAutosyncRegister(kSyncDirectionFull,true); work in one way - from client to server if open one record and run Force Re-Sync from record menu. Only after this record uploaded to server side. Also I added RActions VcRecordSync and VcRecordShouldBeSynchronised to hal, but logs in this functions newer afected to hansa.log


After Force Re-sync to logs added next rows:

On client: 2022-12-19 22:14:23 PollSync took 1ms, record counts: 1 sent, 0 received, 0 updated, 0 equal, 0 ignored deletes, 0 without action since last message

On server: 2022-12-19 22:14:24 PollSync took 27ms, record counts: 0 sent, 1 received, 0 updated, 0 equal, 0 ignored deletes, 0 without action since last message
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Gastón Salomone
Hi, I cannot find any information on about this feature on hansamanual. That is the purpose, is it working, how it works or how must be configured to work ? For REST API many web request per...
23:47 3 Oct 2024
Paul Timms
Thanks Bror-Erik, it's hard to replicate so we won't know for sure until we upgrade the customer with this issue....
10:37 30 Sep 2024