AnsweredAssumed Answered

Sending data to a loaded web viewer

Question asked by joel.s on Mar 29, 2018
Latest reply on Apr 10, 2018 by joel.s

I am developing a graphical environment in a Web Viewer using JavaScript which is populated by objects that get their properties from JSON files saved from FileMaker Go 16 to the Temp folder. The solution is entirely local to the iPad.

 

Tapping on the objects calls FileMaker scripts using the fmp:// url scheme, which works well.

 

I would like to reconfigure the environment more dynamically by sending some values to it without having to reload the whole thing, so is it possible from FileMaker to invoke a JavaScript function configured to receive a small string or JSON payload after the HTML has loaded?

 

This would complete the bidirectional exchange of data with the WV that would make a lot more interesting things possible.

 

TIA

 

Joel

Outcomes