mleering

Problem With Web Viewer Only In Preview Mode

Discussion created by mleering on May 15, 2014
Latest reply on Jun 3, 2014 by keefbc

Hi All;

I'm using FMPA 13, Win 7 and IE 11.

I've created an Org Chart using the data protocol, and some javascript libraries that can be found at the following address:

http://librerias.logicas.org/lib_gg_orgchart/

 

Everything works fantastic in Browse mode, but I need a printable version of this too, and I would like to stay in FileMaker for the printable version. The problem that I'm running into is that my entire Org Chart disappears when I enter preview mode.

 

  • I understand that web viewers maintain their state when switching between browse/preview mode
  • I've given the web viewer a name, and can tell that it still has the proper content (using GetLayoutObjectAttribute)
  • I've tried removing everything that I can from the HTML (before the JS mods happen) without success

 

This problem still persists though.

I'm no javascript or SVG expert, so I'm turning to the community for advice here.

Does anybody know of anything that will work in the web viewer when in browse mode, but not in preview mode?

 

In case it helps, I think what the JS libraries do involves transforming my JSON into SVG rectangles and TSPANs.

 

Thanks in advance for any assistance you can offer!

Matt

 

 

*Update: Added sample HTML as attachment.

Also found out that this problem only happens on Windows. Guessing it has something to do with how IE renders SVG.

Attachments

Outcomes