Viewing Asana Data in RAD Studio Data Explorer

Ready to get started?

Download for a free trial:

Download Now

Learn more:

Asana FireDAC Components

Rapidly create and deploy powerful Delphi & C++Builder Apps that integrate with Asana.



How to view Asana data in RAD Studio Data Explorer using the CData FireDAC Components for Asana.

Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData FireDAC Components for Asana, you gain access to live Asana data within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve Asana data. This article will walk through connecting to Asana using the Data Explorer.

Connecting to Asana Data Using Data Explorer

You can create a simple application for displaying Asana data by utilizing the CData FireDAC Components for Asana and a new VCL Forms Application:

  1. Open the Data Explorer in RAD Studio and expand FireDAC.
  2. Right-click on CData Asana Data Source and click Add New Connection.

  3. Name the connection.
  4. Fill in the necessary connection parameters and click OK.

    You can optionally set the following to refine the data returned from Asana.

    • WorkspaceId: Set this to the globally unique identifier (gid) associated with your Asana Workspace to only return projects from the specified workspace. To get your workspace id, navigate to https://app.asana.com/api/1.0/workspaces while logged into Asana. This displays a JSON object containing your workspace name and Id.
    • ProjectId: Set this to the globally unique identifier (gid) associated with your Asana Project to only return data mapped under the specified project. Project IDs can be found in the URL of your project's Overview page. This will be the numbers directly after /0/.

    Connect Using OAuth Authentication

    You must use OAuth to authenticate with Asana. OAuth requires the authenticating user to interact with Asana using the browser. See the "Getting Started" chapter of the help documentation for a guide to using OAuth.

  5. Back in the Data Explorer, expand the views for the connection.
  6. Create a new VCL Forms application and drag a view (for example: projects) onto the form.

  7. Select the projectsView object on the form and set the Active property to true.
  8. Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).

  9. Arrange the TStringGrid on the form and run the application to see the projects data.