Page 1 of 1

Free Module: svyDataBroadcaster

PostPosted: Fri Oct 07, 2016 3:18 pm
by sean
Hey all, I created a module svyDataBroadcaster

for exposing a Servoy App Server to be notified (via REST endpoints) when DB has been changed outside a servoy client session
This gets around the stale cache problem which is experienced when sharing DB w/ 3rd-party and legacy apps

Also contains a scope for a Servoy REST client for testing purposes or calling from other Servoy App Servers

Source code, binaries and wiki docs available at GitHub

Re: Free Module: svyDataBroadcaster

PostPosted: Thu Oct 13, 2016 10:41 am
by LXS
Hi Sean,

cool, thank you for this great module!
I'm still on Servoy 7.4.8. When i'm checkout the solution i get an error that "Solution "svyDataBroadcaster" has a higher version of Servoy."
Is it a easy way to make it compatible to Servoy 7?
Or do i have to copy the code and make a new module in Servoy 7?

Thanks!
Alex

Re: Free Module: svyDataBroadcaster

PostPosted: Thu Oct 13, 2016 4:39 pm
by sean
Hi Alex,

Thanks for your interest in the module.

In a short-term hack, you can edit the rootmetadata.obj file for the module and change the value for "fileVersion", lowering it to "43" I believe (see below).
Then the IDE will not complain.

I will re-build it from 7.4.x latest to ensure compatibility (there is really no dependency on anything from 8.x) so it will just, effectively, change that one setting

Also, please share how do you plan to use the module !

Code: Select all
fileVersion:48,
mustAuthenticate:false,
name:"svySearch",
solutionType:1,
typeid:43,
uuid:"1FD48C53-F82A-4F77-8F90-046EEDED96B1"

Re: Free Module: svyDataBroadcaster

PostPosted: Thu Oct 13, 2016 5:07 pm
by LXS
Thank you Sean for the quick fix! Changing the fileVersion to 43 solves the problem!

We have an iPhone/Android app with extra application server for our CRM Solution.
When the user edits some database data over the app, the Servoy Server will not be notified.
With your module it is now possible to inform the clients that data has changed :-)