We will show you how to automatically refresh the dynamic data on your page, at regular intervals. We already created a dynamic table, which displays user logs, from our database. We'd like to auto refresh the data, in the table every few seconds, without having to click a refresh button. Open the insert panel. and click dmxzone action scheduler (1). Add a name for this scheduler (2). Add a delay, in milliseconds. the action will be executed after this delay. We set the delay to 4 seconds. Enable the auto start option if you want the action scheduler to run automatically, on page load. Enable the repeat option in order to run the action forever or until stopped (3). And now open the actions button, in order to select what to run (4).
first, select the on run event (1). Open the dmxzone folder. And select control dmxzone server connect action executors. Add the selected behavior (2).
We select to run the server action executor, which lists the logs on our page. click the ok button.
Then click the Ok button, in order to add the selected action, to the scheduler. And click the ok button, when you are done. Now, our data will be refreshed every 4 seconds. Let's preview the results. We loaded our page, in a browser. It should refresh the users logs automatically. You can see that the data is being refreshed every 4 seconds.