littleluce

AJAX within a Web Viewer

Discussion created by littleluce on Apr 26, 2018
Latest reply on Apr 30, 2018 by mikebeargie

Has anyone ever used AJAX in a web viewer? I’ve been experimenting with it as a method to connect to FileMaker through the Data API and build more interactive interface pieces that can push data back to FileMaker but also work inside of WebDirect since a large number of my users access the solution from a browser.

 

Full disclosure: I’m making an HTTP POST request to a separate internal server, which triggers a script that connects to the FileMaker server.

 

This method does appear to work, but on WebDirect the web viewer flashes after the first AJAX call and resets to it’s default form values. I imagine this could be solved by adding an “apply” or “save” button within the HTML interface, but I wonder if there’s another solution.

Outcomes