Arcadia Enterprise can automatically refresh the apps at a rate set by the user. This is typically necessary when the app includes visuals with dynamic information, such as stock tickers.
?auto_refresh=sec
, to set and customize the automatic refresh rate. The variable sec
is an integer that represents the number of seconds between refreshes.The following steps demonstrate how to create a simple application with a refresh rate. We will use a URL link visual to access live information on the NASDAQ stock exchange.
Click New Visual.
Click the edit option in the top right corner of the new visual, to edit in a separate tab.
http://www.nasdaq.com/
.Switch to run mode. For example, these are the URLs for the app created in this article:
http://127.0.0.1:8008/arc/apps/builder/198
http://127.0.0.1:8008/arc/apps/app/198
In the address field of your browser, add the following text at the end of the address: ?auto_refresh=sec
, where sec
is the desired frequency of auto-refresh in seconds. We used 10
seconds.
Note that your application refreshes periodically.