AnsweredAssumed Answered

GetLayoutObjectAttribute ( {web viewer} ; "content") returns wrong (old/cached) value

Question asked by jcooper on Feb 11, 2015
Latest reply on Feb 11, 2015 by TSGal


GetLayoutObjectAttribute ( {web viewer} ; "content") returns wrong (old/cached) value


FileMaker Pro



Operating system version

Mac OS 10.9.5

Description of the issue

When calculating GetLayoutObjectAttribute ( {web viewer} ; "content") after changing pages within a web viewer, sometimes, but not always, an older page's content is returned.  The content returned does not display the page being displayed when the calculation is returned.

Steps to reproduce the problem

Create a web viewer name "webMain", set the page to any page that contains a link.

create a script where a global variable or field is set to GetLayoutObjectAttribute ( "webMain" ; "content").

run the script. observe the value returned.

click a link in the page.

run the script again.

Expected result

The value returned should be the content of whatever page had just been rendered.

Actual result

The value sometimes will be the same as what was returned previously while on the old page.

Configuration information

Tried waiting several seconds after clicking link but before running script.

Tried refreshing record and reloading page.

Inconsistent bug; unfortunately this does not happen every time; rough guess would be bout 40% of the time.


working on it....