![]() |
VOOZH | about |
Claris FileMaker is a low-code database application development tool that enables users to create custom apps for managing and organizing data. It combines a powerful relational database engine with an intuitive interface, allowing both technical and non-technical users to design and deploy applications across desktop, web, and mobile platforms.
In this article, we'll explore how to use the CData ODBC Driver for Gmail and FileMaker scripting to connect to Gmail data.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
There are two ways to authenticate to Gmail. Before selecting one, first ensure that you have enabled IMAP access in your Gmail account settings. See the "Connecting to Gmail" section under "Getting Started" in the installed documentation for a guide.
The User and Password properties, under the Authentication section, can be set to valid Gmail user credentials.
Alternatively, instead of providing the Password, you can use the OAuth authentication standard. To access Google APIs on behalf on individual users, you can use the embedded credentials or you can register your own OAuth app.
OAuth also enables you to use a service account to connect on behalf of users in a Google Apps domain. To authenticate with a service account, register an application to obtain the OAuth JWT values.
In addition to the OAuth values, provide the User. See the "Getting Started" chapter in the help documentation for a guide to using OAuth.
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
In this section, we walk through the steps to connect live Gmail data to FileMaker using the CData ODBC Driver for Gmail and the Script function. During the initial import, FileMaker brings in all data from the external data source. From the second import onward, it updates only the data that has changed in the external source (a differential update). You can also replace the data in the current record order and schedule these differential updates for automated syncing.
You can download and install the latest version of FileMaker Pro for your Mac/Windows/Linux systems from this link.
Scripting in FileMaker automates complex tasks and workflows by running a sequence of actions with a single command. By using scripting to integrate with Gmail, you can automatically connect to, import, update, and replace Gmail data within your FileMaker applications, streamlining data management and improving efficiency.
In this section, we'll use scripts to import Gmail data into FileMaker by following these steps:
After importing the Gmail data into FileMaker, use scripts to update or replace any changes made in Gmail by following this process:
Download a free 30-day trial of CData ODBC Driver for Gmail to integrate Gmail data into Claris FileMaker and work with Gmail data in your FileMaker applications.
Reach out to our Support Team if you have any questions.
Download a free trial of the Gmail ODBC Driver to get started:
Download NowLearn more:
π Gmail IconThe Gmail ODBC Driver is a powerful tool that allows you to connect with live Internet E-mail (Gmail), directly from any applications that support ODBC connectivity.
Access Gmail folders and message data like you would a database - read, write, and send E-mails through a standard ODBC Driver interface.