Jump to content
  • 0

Auto refresh datapage automatically


Question

Hello, I am trying to find a way to auto refresh a specific datapage report on a page (has 4 or 5 datapages). I have a  log datapage that I want to refresh as items are added. I want the refresh to happen automatically without refreshing the entire page or other embedded datapages... 

 

Any way to do this?

 

Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hello Mikey,

 

The DataPages deployed on the same pages should automatically be updated with records when an action is done on one of your DataPages. This feature is called AJAX Loading and is enabled by default. You may check on this article for more information: https://howto.caspio.com/datapages/ajax-loading/

 

Let me know if this is not what you're looking for.

 

[src="carl,js"]

Link to post
Share on other sites
  • 0

Hello. I should have been more clear... not all of the datapages on the page update the log datapage.. .. I have feeds coming in from other users/datapages that update/insert into a table I am pulling this log from. I see that if they are on the same page it will work.. but what if I have a table that is updated from another person logged into the app .. I want the datapage to refresh every 1 min or automatically when that record is inputted into the table.. hope that makes sense....

Link to post
Share on other sites
  • 0

Hello... I have a similar question as the OP.  When I use the below JS solution, the entire page reloads.  I have multiple (6) datapages deployed on the same webpage and I only want 3 of them to be autorefreshed.  AJAX loading is enabled so i am aware that when an action is taken in one of the datapages, the results will refresh in the others but I am looking for a solution independent of taking an action in one of the datapages. 

<script language="javascript">
setTimeout(function(){
   window.location.reload(1);
}, 30000);
</script>

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...