We'll create fresh WordPress site with DriveWorks Block – Form Embed installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Add a WordPress block (Gutenberg editor) to easily embed DriveWorks Projects and DriveApps.
It uses pre-written DriveWorks Client SDK functions to automatically create a client, login, start a Specification / DriveApp and render the Form.
Note: these blocks require an external DriveWorks Live Integration Server to be configured and running, which allows connections from your WordPress domain.
To embed DriveWorks content, simply provide the following in the settings of each block:
Optionally you can also set:
0
seconds, or a blank value (the default).How it works?
This block outputs the markup required to connect to your DriveWorks Live instance and render Forms.
A pre-written script using standard methods from the DriveWorks Live Client SDK, running on your own server, performs a login and renders the configured Form.
The script will not send any credentials during login, so a default user must be specified in DriveWorksConfigUser.xml.
If a default user is not set server-side, the connection will not be authorized.
It is important to ensure that your DriveWorks Integration Theme server is running correctly.
You can check this by accessing the configured server url directly in a browser.
Clear warnings will be shown if any errors are made in the config or during connection.
For alternative examples on how to render a DriveWorks Form, see our public Client SDK Examples and our Official GitHub.