Outsystems


Outsystems


This page outlines the steps to connect Outsystems to CData Connect.

Note: Before you can configure and use Outsystems with CData Connect, you must first connect a data source to your CData Connect account. See Connections for more information.

Prerequisites

Before you connect, you must first do the following:

  • Connect a data source to your CData Connect account. See Connections for more information.
  • Generate a Personal Access Token (PAT) on the Settings page. Copy this down, as it acts as your password during authentication.

Connecting to CData Connect in Outsystems

  1. Open Outsystems Studio.

  2. Click the gear icon to open Environment Management.

  3. Click Administration and select Database Connections.

  4. Click New Database Connection.

  5. Enter the following information to configure the database connection:
    • Name—A name for the connection, such as CData Connect Cloud.
    • DBMS—SQL Server/ Azure SQL.
    • Username—The Connect Cloud user email used during preparation, e.g. user@mydomain.com.
    • Password—The PAT generated for the Connect Cloud user above.
    • Server—tds.cdata.com,14333.
    • Schema—The name of your connection e.g. OData1.

  6. Click Test Connection.

  7. Click Create to save the connection.

Map Tables or Views to Entities in an Extension Module

Once you create the dabatase connection, you can create an extension that maps tables or view to Outsystems entities. To do so, you must create an Entity in Outsystems Integration Studio.

  1. In Integration Studios, right click Entities in the extension tree and click Connect to External Table or View….

  2. A wizard will appear. Follow its steps to select the tables and views to work with. Complete the wizard and return to the integration studio view.

  3. Click 1-Click Publish. This opens a 1-Click Publish wizard. Once the process completes, click Configure.

  4. In the Service Center, associate the name of the Logical Database to the Database Connection the Extension Module will use and click Apply.

  5. In the application, click Manage Dependencies….

  6. Add the dependency to the Extension and select the Tables and Views to map to Entities to use in the application. Click OK.

You can now work with your data as if it was a standard Outsystems Entity.