Page 1 of 1
Hide csdb sync messages in CSPro
Posted: April 25th, 2025, 1:38 am
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
Re: Hide csdb sync messages in CSPro
Posted: April 25th, 2025, 11:35 am
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,
Re: Hide csdb sync messages in CSPro
Posted: April 29th, 2025, 8:44 pm
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,