Re: Question about Web Areas and local cache

2016-12-02 Thread Kirk Brooks
That's the sort of thing I was looking for. So it looks like the auto-update action will only happen when the server executes that command. - *Always*: The synchronization of the local *Resources *folder is automatically carried out during the session whenever notification is sent by the

RE: Question about Web Areas and local cache

2016-12-02 Thread Timothy Penner
Have you tried using the NOTIFY RESOURCES FOLDER MODIFICATION command: http://livedoc.4d.com/4Dv16/help/Command/en/page1052.html The NOTIFY RESOURCES FOLDER MODIFICATION command "forces" 4D Server to send a notification to all the connected 4D machines indicating that the Resources folder of the

Re: Question about Web Areas and local cache

2016-12-02 Thread Kirk Brooks
Tim, I think the issue here has to do with testing on a server instance. I'm editing files stored in the Resources folder but the client is accessing files in the local cache. The reload is performing - but on the files in the client cache. I have the "Update Resources folder during session: Alway

Re: Question about Web Areas and local cache

2016-12-02 Thread Kirk Brooks
Hey Tim, I'll take a look at that one but your first suggestion seems to do what I want. For those of you following along at home here's the actual code: WA EVALUATE JAVASCRIPT (*;$webArea;"location.reload(true)") The true param forces the reload from the server. Without that it would reload fr

RE: Question about Web Areas and local cache

2016-12-02 Thread Timothy Penner
I just read the original email: > So here's the odd part - 4D seems to be caching the js files. I noticed that > if I make a change to the .js files, save them and re-load the web area I can > see in the Web Inspector that it's still running the unchanged file. A common trick is to add a random

RE: Question about Web Areas and local cache

2016-12-02 Thread Timothy Penner
Hi Kirk, > FWIW - if the context menu is enabled the Reload command on that does the > full relaod. > I'd still like to know how to do it via programming. I haven't tried it but what about using the JavaScript location.reload() or location.reload(forceGet) with WA EVALUATE JAVASCRIPT ? http://

Re: Question about Web Areas and local cache

2016-12-02 Thread Kirk Brooks
FWIW - if the context menu is enabled the Reload command on that does the full relaod. I'd still like to know how to do it via programming. On Thu, Dec 1, 2016 at 5:38 PM, Kirk Brooks wrote: > Here's something I haven't noticed before - I'm developing some html/js > files that display in a weba

Question about Web Areas and local cache

2016-12-01 Thread Kirk Brooks
Here's something I haven't noticed before - I'm developing some html/js files that display in a webarea in a 4D form. For development I'm opening a separate process which displays a dialog with a webarea and a button on it. Clicking the button let's me put in a record number, 4D looks up the record