KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to force a refresh of the current web page within a web area from 4D Code
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: October 26, 2020

The following code can be used to force a refresh of the page displayed within the web are:

WA Evaluate JavaScript(*;"Web Area";"location.reload(true)")

This can be useful, for example, when doing local development on HTML or JavaScript files and you want to ensure that they are reloaded from disk and not from cache.