All Commands
All Other
Commands
WEBSOCKET_REQ
This will add Web Socket Send and receive functionality to the page.
It will only work for logged in users.
Use the {WEBSOCKET_SEND()} Command to send messages to users or groups from the server.
Use the JavaScript Function udb.webSocket.sendMessage(ugList, type, obj_id, title, message) to send messages from the client.
Adding the command {WEBSOCKET_REQ(WSLiveUpdate)} to a sub template, will cause the system to automatically change the contens of a page if another user changes the page content.
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | ug_list | String | An optional list of Groups you want the user to receive messages for. Messages can be sent to individual users, or groups. Group Names should not be numeric. e.g. Group1, Accounts |