$myLayout = 'Your_Layout' // your layout name add_action( 'fm_WordPress_action', 'fm_data_api_form' ) In WordPress, go to Appearance->Editor, then select the Theme Functions file and insert the following code, with adjustments made to the variables at the top of the function. Now, you can communicate directly with the newly available Data API to insert a new record in your database with no other pieces needed or external APIs to load.īoth methods use a WordPress function, WP_Http(), to make the external requests and submit all form data entered by end users. Run at peak performance, maintain databases with ease, and get time-saving automation capabilities.
Simplified Process with the FileMaker Data API FileMaker Server is fast, reliable, easy-to-use server software that securely manages groups of FileMaker Pro and FileMaker Go users over a network or on the web. FileMaker Server allows centralized hosting of apps which can be used by clients running the desktop or mobile apps. This required a web server running PHP, possibly on the same machine where FileMaker Server was running.
Previously in FileMaker 16 and prior, you could send data to a CWP (custom web publishing) script that could include the FM API for PHP and use that to insert to your database. You only need to add a custom action to the Theme Functions (“functions.php”) file in WordPress and specify that custom action in your Ninja Forms configuration.
This makes it very portable and convenient to add as a WordPress administrator. You do not need access to the backend MySQL database, which is not always easy or available. This means that when you use our plugins in your FileMaker scripts, they will work the same way with Instant Web Publishing (IWP) or WebDirect. This process also supports responsiveness of your WordPress deployment. What about Web Publishing and FileMaker Server If you purchase the Enterprise License (see below), then you will be able to use the plugin with the FileMaker Web Publishing Engine. This makes building web forms easy while staying compliant with a WordPress theme. In this post, we demonstrate how you can submit a form built with a freely available WordPress plugin, Ninja Forms. Connecting Your WordPress Website and FileMaker Solution