![]() |
VOOZH | about |
The CData ODBC Driver for Anaplan can be used from any platform or development technology that supports ODBC, including PowerBuilder. This article shows how to connect to Anaplan data and execute queries from the Database Painter and controls such as the DataWindow.
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.
The driver supports authenticating with Basic, Certificate, or OAuth. In every case, set Region to the region where your Anaplan account data is hosted (e.g., , which is the default).
Set AuthScheme to , then supply your Anaplan User and Password. If your workspace uses single sign-on (SSO), you must be assigned as an Exception User to use Basic authentication.
Set AuthScheme to , then supply the Certificate, CertificateType, and PrivateKey properties (and the matching CertificatePassword / PrivateKeyPassword if either is encrypted). The certificate must be a CA-issued X.509 certificate registered with your Anaplan tenant administrator.
Register a custom OAuth application in Anaplan, then set the following properties:
See the Getting Started chapter of the help documentation for a guide to creating a custom OAuth app and using OAuth.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for Anaplan. In the Database Painter, you can use wizards and the UI to work with Anaplan data.
You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve Anaplan data into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC" SQLCA.DBParm = "ConnectString='DSN=CData Anaplan Source'" CONNECT USING SQLCA; dw_sales.SetTransObject(SQLCA); dw_sales.Retrieve();
Download a free trial of the Anaplan ODBC Driver to get started:
Download NowLearn more:
👁 Anaplan IconThe Anaplan ODBC Driver is a powerful tool that allows you to connect with live data from Anaplan, directly from any applications that support ODBC connectivity.
Access Anaplan data like you would a database - read, write, and update Anaplan 0, etc. through a standard ODBC Driver interface.