AnsweredAssumed Answered

PDF output of animated webview

Question asked by user28311 on Aug 27, 2018
Latest reply on Sep 6, 2018 by TSGal

I have an issue with save as PDF for a layout with a webview.

 

I have a script that opens a new window to a layout with a full webview. Its a Google Chart generated on the fly.

There are no calculation issues - the contents of the web view (compiled HTML code)  is fully generated before the window is opened.

 

In FM 15 I had to add a pause after the window "loaded" before calling Save records as PDF to allow the short graph animation to complete.

 

So after a few seconds delay it generates the PDF. Works fine in  FM 15

 

In FM 17 it appears that behind the scenes FM flushes the cache and reloads the web view before executing the Save As PDF. Conclusion reached based on the output which is the view at the very start of the animation, when all the lines in the chart are stacked on top of each other at the bottom. When the animation runs each line then rises to the proper position.

 

I know there is a work around available - just disable the animation, but the point is that there seems to be an unnecessary flushing of the cache in the process......which breaks a process that used to work so nicely...

 

Bug or Feature ?

 

Please vote !

 

Ben

Outcomes