10 Replies Latest reply on Aug 6, 2014 4:04 PM by eric

    GetLayoutObjectAttribute fails on web viewer in WebDirect

    eric

      Summary

      GetLayoutObjectAttribute fails on web viewer in WebDirect

      Product

      FileMaker Server

      Version

      13

      Operating system version

      Windows Server 2008; OS X, Mavericks with Safari

      Description of the issue

      GetLayoutObjectAttribute doesn't work on web viewer in WebDirect as documented:
      https://fmhelp.filemaker.com/docs/13/en/fm13_webdirect_guide.pdf
      "When GetLayoutObjectAttribute acts on a web viewer in FileMaker WebDirect, the content and source attributes return the same value, a URL."
      Returned value is empty with no error.

      Sample file attached.
      https://fmdev.filemaker.com/servlet/JiveServlet/download/151470-40681/WebViewerDirect.fmp12.zip

      Steps to reproduce the problem

      Make web viewer named "WebViewer".
      GetLayoutObjectAttribute ( "WebViewer"; "content" )
      Execute in WebDirect.

      See attachment.
      https://fmdev.filemaker.com/servlet/JiveServlet/download/151470-40681/WebViewerDirect.fmp12.zip

      Expected result

      "When GetLayoutObjectAttribute acts on a web viewer in FileMaker WebDirect, the content and source attributes return the same value, a URL."
      https://fmhelp.filemaker.com/docs/13/en/fm13_webdirect_guide.pdf

      or at least a non-zero error result.

      Actual result

      "", empty, NULL, nothing; error result 0.

      Exact text of any error message(s) that appear

      0

      Configuration information

      Server 13.

      Workaround

      Insert from URL doesn't help in the case I needed because
      the site I really need it for redirects or FileMaker can;t follow the site certificate; I only get a "page has moved result."