Hide csdb sync messages in CSPro

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Post Reply
parthsaha2023
Posts: 9
Joined: October 10th, 2023, 5:58 am

Hide csdb sync messages in CSPro

Post by parthsaha2023 »

Hi everyone,

I just wanted to know if there is anyway we can hide the default csdb messages like "Synchronizing <csdb file name.csdb>".

Any help is really appreciated!

Thanks.
Parth
htuser
Posts: 687
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Hide csdb sync messages in CSPro

Post by htuser »

I asked for the same thing years ago. Now, I think calling a user defined function doing the sync task in the Question text Webview (From View CAPI Question) of the Menu using CS.Logic.Eval https://www.csprousers.org/help/CSPro/C ... _eval.html (not the asynchronous version) should help in solving the issue. I will try to test it this weekend and, if work, I'll share the JS code with you.

Notice also, In CSEntry, there is a button who can sync silently. But codes behind can't be called in CSPro Logic. You can activate this button in the CSPro Designer using Options---Synchronization---Enable Synchronization---Add your specific server type, url, credentials (by pressing on Test Connection...) and choosing your Sync direction (upload, download, both_).

Maybe, one of the CSPro Developer Team member will come with some smart solutions or workaround.

Best,
G.VOLNY, a CSProuser from Haiti, since 2004
htuser
Posts: 687
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Hide csdb sync messages in CSPro

Post by htuser »

I was wrong when thinking that calling Action Invoker synchronous methods would not display Sync UI.
Please follow this post for a solution (if available) viewtopic.php?p=19017
Best,
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply