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

GetLayoutObjectAttribute for a Chart doesn't work with WebDirect (2 Comments)

$
0
0

Issue report by Kim Tran

Product

FileMaker Pro

Version

Advanced 13

Operating system version

Mac OS 10.9.4

Description of the issue

The GetLayoutObjectAttribute command for charts do not work when using WebDirect.

I tried to use a script to copy a chart to a container field using this command and although it works in FM Pro, when accessed in WebDirect the value turns up empty.

Steps to reproduce the problem

Create a chart on a layout with a defined object name and a container field.
Using a button, add the following script:

Set Field [ container_name ; GetLayoutObjectAttribute( "chart_obj" ; "content")]
Commit Records/Requests [No dialog]

Test the button to see if an image of the chart is saved in the container when using WebDirect.

Expected result

The container will be filled with an image of the chart object.

Actual result

The container is empty. If there was a previous value saved in the container, it will also be empty.

Viewing all articles
Browse latest Browse all 3510

Trending Articles