please specify: Is this Win OR macOS?
1 of 1 people found this helpful
You're running similar system as I do: macOS Sierra 10.12.1 beta2, FMPA22.214.171.124.
My GoogleChart Example
works on all my Systems (macOS 10.12, 10.11, Win7, Win10, iOS10) whereas it failed on yours, as you told me.
I have no clue.
You can try to copy the WV html code to build a html-File to test with Safari and also with other Browsers.
That's how we could narrow this down to a issue with Safari Webkit.
Highcharts are already included in my program.
Online no problem, works fine !
But as i said, the runtime solution ( with Highcharts) must be running offline .
Your Google Charts works fine ,but only when i am online.
Have you made sure that the external resources you store locally contain don't contain references to external files? A css will e.g. sometimes contain references to image files, which you would then need to handle locally (or Base64Encode).
It would also be useful if you could post a sample file or at the very least the full html code.
Thanks, but it would be necessary to see your implementation of the js being stored locally - that's where the issue will be.
In the Sample - Layout - Highcharts JS Original ..... Pie Chart . Here ist the JQuery local.
The Jquery on HD works too
But not embedded in a Field :-(
probably a minor thing. Just a NOT escaped quote can break the whole thing. Take a look at my example:
"<html>" & ¶ &
"<head>" & ¶ &
Also set the Field with the JS text on your layout to check for any failures with the Relationship!
Works now :-)
Tanks to all
could you elaborate?
Any typo or a quote you haven't escaped?
This is a topic were many of us struggle once in a while though your info could be helpful for developer knowledge base.
a Script that uses a substitute to replace "[jQuery]” with the contents of the "resource_jQuery” global field.
and all works fine :-)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
also, any field containing quoted (single or double) text does not need to be escaped.
NOTE: the pilcrow is also not needed (it's a human readable form of the code & other things reading it do not need it!)
If it helps you to debug:
; "<script ... "
) // you can even add comments that will be ignored when finally evaluated!