7 Replies Latest reply on Jul 2, 2017 5:34 AM by precursor

    FM 16 HTML getting rewritten by GetLayoutObjectAttribute function

    Mike Duncan

      In FileMaker Pro 16, it appears that the GetLayoutObjectAttribute function will return rewritten equivalent of data as html, regardless of content. An example would be, with a web viewer object named "web", and a function call of GetLayoutObjectAttribute ( "web" ; "content" ):

       

      The actual data:

      <form>

      <input type="text" name="myName" value="123" />

      </form>

       

      What the function returns:

      <html><head></head><body><form>

      <input type="text" name="myName" value="123">

      </form>

      </body></html>

       

      Note that not only did additional html tags get inserted, but also some elements get rewritten, as is the case with the closing slash in the "input" type. It can throw off pattern matching in solutions that worked in previous versions.