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

GetLayoutObjectAttribute does not reflect displayed data before refresh (4 Comments)

$
0
0

Issue report by Jeremy Bante

Product

FileMaker Pro

Version

ProAdvanced 13.0v5

Operating system version

10.10.2

Description of the issue

When a script sets variables that appear in a layout as merge variables, the GetLayoutObjectAttribute "content" result reflects the variables set by the script, even though the un-refreshed result on the layout does not match.

Steps to reproduce the problem

Place a merge variable on a layout, set a value to that variable, and refresh the layout without a script. Create a script that sets a different value to the variable, attempts to retrieve the displayed merge variable content with the GetLayoutObjectAttribute function *before* refreshing the layout, and show the result.

Expected result

The result of the GetLayoutObjectAttribute function running in the script should reflect the contents of the object as they currently appear in the layout.

Actual result

The result of the GetLayoutObjectAttribute function reflect what the displayed content would be after a refresh.

Exact text of any error message(s) that appear

n/a

Configuration information

Demo file: https://www.dropbox.com/s/7pidjdjt3511m84/GetLayoutObjectAttribute%20Bug.fmp12.zip?dl=0

Workaround

None.

Viewing all articles
Browse latest Browse all 3510

Trending Articles