![]() |
VOOZH | about |
Mendix is a high-productivity app platform that allows you to build and maintain both mobile and web applications at-scale. When paired with CData Connect AI, Mendix provides instant, cloud-to-cloud access to Act CRM data for applications. This article demonstrates how to connect to a CData Connect AI data source from within Mendix.
CData Connect AI provides a pure cloud-to-cloud interface for Act CRM, allowing you to import data from live Act CRM data in Mendix β without replicating the data to a natively supported database. As you build web and mobile applications from within Mendix, CData Connect AI pushes all supported SQL operations (filters, JOINs, etc.) directly to Act CRM, leveraging server-side processing to return the requested Act CRM data quickly.
To work with Act CRM data from Mendix, we need to connect to Act CRM from Connect AI, provide user access to the connection, and create a Workspace for the Act CRM data.
CData Connect AI uses a straightforward, point-and-click interface to connect to data sources.
The and properties, under the Authentication section, must be set to valid Act! user credentials. In addition to the authentication values, see the following:
Connecting to Act! Premium
In addition to the authentication values, the to Act! is also required; for example https://eup1-iis-04.eu.hosted.act.com/.
Additionally, you must specify the you will connect to. This is found by going to the About Act! Premium menu of your account, at the top right of the page, in the ? menu. Use the Database Name in the window that appears.
Connecting to Act! Premium Cloud
To connect to your Act! Premium Cloud account, you also need to specify the property. This property is found in the URL address of the Cloud account; for example https://eup1-iis-04.eu.hosted.act.com/ActCloudName/.
Note that retrieving ActCRM metadata can be expensive. It is advised that you set the property to store the metadata locally.
π Configuring a connection (Salesforce is shown)When connecting to Connect AI through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect AI. It is best practice to create a separate PAT for each service to maintain granularity of access.
After connecting to Act CRM, create a workspace for your desired table(s).
With the connection, PAT, and Workspace configured, you are ready to connect to Act CRM data from Mendix.
When creating a connection in Mendix, the connection flow requires a Data Source Contract File. Follow these steps to download the OData metadata file for CData Connect AI using curl, a command line tool:
curl -u USER:PAT https://cloud.cdata.com/api/odata/{workspace_name}/$metadata -o metadata.xml
Follow these steps to establish a connection from Mendix to CData Connect AI:
You can now use your connection in Mendix Studio Pro to easily create applications with access to live Act CRM data.
To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!
Learn more about CData Connect AI or sign up for free trial access:
Free Trial