• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 881
  • Last Modified:

how can I find a script to auto refresh an app page

I have an app that developed for me in appery.io by a freelancer.  The app summarizes input on the final page and gives the totals in each category.  However, the changes do not automatically display on the last page until the page is manually refreshed.  I want the last page to automatically refresh.  I am looking for the code that will make this happen and a little advice on where I should place the code.  Thanks.
0
owdan007
Asked:
owdan007
1 Solution
 
Chris Raisin(Retired Analyst/Programmer)Commented:
Do you have the code written by the freelancer? If you just have the compiled code (app) then you cannot add the "refesh" unless the application has a setting for an "auto-refresh" timer built in to it.

If you have been supplied with the code then it is just a matter of placing a page "refresh" command in the code where  the final page displays (after the data is loaded) .

You will need access to the "App Builder" for Appery to do this though, I would think.

The code is very "C" like and looks a bit like the following, although this code is written for a GPS app.:

var location = Appery ('input').val();
if (location == '') {
   alert ('Please enter a location.');
   return;
}
var map = Appery('map');
map.options['address'] = location;
map.refresh();

Open in new window


There are scripts supplied at "http://appery.io/pricing/" (some free) which may point you in the correct direction.

I am not actually an Appery developer, but perhaps I may have helped you in some way.

If you have the code and can supply the section of that code that displays the final page, I will see if my knowledge of "C" can help you amend the script using the App Builder.

I may be on the wrong track though (because, as I said, I am not an Appery developer). You can contact
Appery support on "supportATapperyDOTio" (replace AT  with the @ symbol and DOT with the "." period)
and they may be able to clarify things. Their website http://appery.io/pricing/ gives details of various scripts involving "refresh" procedures (some free).

There is a good tutorial on using the App Builder on YouTube:
https://www.youtube.com/watch?v=wwY23W9Gz8Q

Good luck!  :-)

Cheers
Chris
0
 
owdan007Author Commented:
thanks for the feedback...I will give it a try...I will contact appery.io to get their help on which page to place the code.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now