Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

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

$
0
0

Issue report by jscooper

Product

FileMaker Pro

Version

13

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.

Workaround

working on it....

Viewing all articles
Browse latest Browse all 3510

Trending Articles