Hello,
Basically i would like to do the following:
- after database updates (new row created in the specific table)
- i want to send user a message to connect and download new data
Should i use “Data Service Handler/Create” for this?
(It says: “These events occur when a client application sends an API request to store an object in
the data storage”
but its not the client who creates data in this case)
Thanks,
AY
Hi, Anatoliy,
In which way do you plan to add new rows? From Backendless console?
Absolutely correct. Basically image that on the server side some new content have appeared and i want client to download it. (otherwise it has to periodically check the server for the new content)
Well, if you add a row manually from console, then you can also manually send notification from console on “Messaging” tab.
Hi Anatoliy,
You can add custom timer and periodically check if data was changed in table (for example, check quantity of “totalObjects”).
And if this function return true (total quantity of objects increased) - send message to user.
Regards,
Kate.
Sergey, this approach will not work since content might be added programmatically.
I believe Kate option is the one to use.
Regards,
AY
But how do you update content programmatically if not using client API?