I have different tenants (subdomains) using the scheduler and I’d like to make sure each liveupdate client is in another e.g. namespace.
Any way to separate/namespace each client in the server.js definition or how would that be approached?
liveupdate uses faye 7.0 which should support the ‘on’ binding event in order to monitor events as in: faye.jcoglan.com/node/monitoring.html But that doesn’t seem to work, any plans to update or how do you track/debug?
Apologies if there’s a limit to how old a thread we’re allowed to post to, but I am having troubles in this area as well. There are a few points I’m still not clear on.
Does the server.js script need to be continually running?
Do we need a web config file for Node.js in the folder?
I’ll probably have more questions on this since I and my co-worker are fighting to get this thing to work. (We are currently working on a project that uses the Scheduler, and it needs to be updated live. Neither of us has prior experience with Node.js)
(1) yes, server.js is a separate server that must be always active. It is used to send notifications to client-side, when data was changed.
(2) not sure. It depends on your environment. The key point here, you need to run nodejs process with server.js. Normally it means that you just execute something like node server.js ( manually, or by some kind of startup script )
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan