1 of 1 people found this helpful
If your web server allow such URL, adding UUID as
... SALESMEN_land::dsr_url & "?" & Get(UUID) & ...
make everytime different URL then prevent using cached data.
READ THIS AGAIN, y'all!
This is an age-old method I have used in Web Developing to get a page to display what is current and not cached.
is perfect. user19752 does it again.
if you have an URL with "?" already in it, just add to the end like this:
"&" & Get(UUID)
"http://Url?name=abc&day=3&" & Get(UUID)
(sometimes I'll assign it to a parameter that gets passed, but not used in the end:
"http://Url?name=abc&day=3&_fn=" & Get(UUID)
- it still makes the page be fresh each time the UUID is evaluated
check your Web Viewer dialog, too if the URL is getting encoded automatically or not.
Beverly and user19752..
Thanks very much, but unfortunately I don't have the option of adding that UUID to the URL. These images are access by other applications and format needs to stay as it is.
But I take your responses to imply that what I'm seeing is "normal." In other words, it sounds like you're saying that the script step to Reload the URL doesn't actually do that. Or, there's no way to wipe out cache and force FileMaker to fetch the URL anew.
that's odd to me, but I don't know enough about web to feel like I can be irritated about it.
I doubt the server will balk at the appended UUID. as long as you are not trying to add data that is out of scope of the call, why should it have trouble?
did you test? are you setting the URL or relying on the server to post the link from a page?
perhaps you need to append it to the URL to the page, not the image?
And so here's something I tried...
I put a button on the layout and tied it to a single script step, "Open URL", pointed to...you guessed it, the same URL I have in the Web viewer.
If I change the image and hit this button, I see the new image opened in Safari immediately.
So what is it about the web viewer that is different?
Ah, I misunderstood what user8675309 was actually saying.
I did add the UUID and, POOF, that works!
I still wish I understood more to know why the Set Web Viewer Reload doesn't do this, but at least it's working.
reload even in a browser pulls from cache (if any). appending something unique ensures the page is different in some way that the cache is NOT used, but a fresh new page.
age-old problem solved!!