AnsweredAssumed Answered

GetLayoutObjectAttribute for a Chart doesn't work using WebDirect

Question asked by KimTran on Aug 22, 2014
Latest reply on Aug 26, 2014 by philmodjunk

Title

GetLayoutObjectAttribute for a Chart doesn't work using WebDirect

Post

     Hi,

     I've created a layout script trigger that copies a chart and sets it to a container field.

     This works while using FileMaker Pro, however, when I test it out on WebDirect, the container field is set to nothing (which means that the script is setting the container field, but the return of the GetLayoutObjectAttribute call is null).

     The script is:

     Set Field [ container_name ; GetLayoutObjectAttribute( "chart_obj" ; "content")]

     Commit Records/Requests [No dialog]

     At first, I thought it was because the chart was on a different layout, however, when I moved the container field to the same layout it still didn't work on WebDirect.

     Thanks!

Outcomes