3 Replies Latest reply on Aug 26, 2014 8:38 AM by philmodjunk

    GetLayoutObjectAttribute for a Chart doesn't work using WebDirect

    KimTran

      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!