Analyze Oracle Eloqua Reporting Data in Infragistics Reveal

Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Use the CData API Server to create an OData API on top of Oracle Eloqua Reporting data and visualize live Oracle Eloqua Reporting data in Infragistics Reveal.

Reveal is a data visualization solution provided by Infragistics and can be paired with the CData API Server to build dynamic dashboards from live Oracle Eloqua Reporting data. The CData API Server generates an OData API for Oracle Eloqua Reporting, which is natively consumable in Reveal. In this article, we walk through connecting to Oracle Eloqua Reporting in API Server and connecting to the API Server from Infragistics Reveal to create a simple dashboard.

Connect to Oracle Eloqua Reporting from API Server

CData API Server uses a straightforward, point-and-click interface to connect to data sources and generate APIs.

  1. Open API Server and click Settings -> Connection -> Add Connection
  2. Select "Oracle Eloqua Reporting"
  3. Enter the necessary authentication properties to connect to Oracle Eloqua Reporting.

    Oracle Eloqua Reporting supports the following authentication methods:

    • Basic authentication (User and Password)
    • OAuth 2.0 code grant flow
    • OAuth 2.0 password grant flow

    Basic Authentication (User and Password)

    To perform authentication with a user and password, specify these properties:

    • AuthScheme: Basic.
    • Company: The company name associated with your Oracle Eloqua Reporting account.
    • User: Your login account name.
    • Password: Your login password.

    OAuth Authentication (Code Grant Flow)

    To authenticate with the OAuth code grant flow, you must set AuthScheme to OAuth and create a custom OAuth application. For information about how to create a custom OAuth application, see the Help documentation.

    Then set the following properties:

    • InitiateOAuth: GETANDREFRESH. Used to automatically get and refresh the OAuthAccessToken.
    • OAuthClientId: The client Id assigned when you registered your application.
    • OAuthClientSecret: The client secret that was assigned when you registered your application.
    • CallbackURL: The redirect URI that was defined when you registered your application.

    When you connect, the driver opens Oracle Eloqua Reporting's OAuth endpoint in your default browser. Log in and grant permissions to the application. When the access token expires, the driver refreshes it automatically.

    OAuth Authentication (Password Grant Flow)

    With the OAuth password grant flow, you can use your OAuth application's credentials alongside your user credentials to authenticate without the need to grant permission manually via a browser prompt. You must create an OAuth app (see the Help documentation) to use this authentication method.

    Set the following properties:

    • AuthScheme: OAuthPassword
    • Company: The company's unique identifier.
    • User: Your login account name.
    • Password: Your login password.
    • OAuthClientId: The client Id assigned when you registered your custom OAuth application.
    • OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.

Add Oracle Eloqua Reporting Resource Definitions in API Server

After connecting to Oracle Eloqua Reporting, create Resources, which represent API endpoints for Oracle Eloqua Reporting data.

  1. Click Settings -> Resources -> Add Resource
  2. Select the Oracle Eloqua Reporting connection
  3. Select the table you wish to retrieve and click Next
  4. (Optional) Edit the resource to select specific fields and more
  5. Save the settings

Add an API Server User

Create a User to connect to Oracle Eloqua Reporting from Reveal through API Server.

  1. Click Settings -> Users
  2. Click Add
  3. Configure a User with access to the Oracle Eloqua Reporting Connection and Resource(s)

(Optional) Configure Cross-Origin Resource Sharing (CORS)

When accessing and connecting to multiple different domains from an application such as Ajax, there is a possibility of violating the limitations of cross-site scripting. In that case, configure the CORS settings in Settings -> Server.

  • Enable cross-origin resource sharing (CORS): ON
  • Allow all domains without '*': ON
  • Access-Control-Allow-Methods: GET, PUT, POST, OPTIONS
  • Access-Control-Allow-Headers: Authorization

Save the changes to the settings.

Create a Dashboard in Reveal

With the API Server configured, we can visualize Oracle Eloqua Reporting data in Reveal.

  1. Log into Reveal and click Dashboards -> New
  2. Click Data Source -> OData Feed
  3. Specify the API Server API endpoint URL, for example: https://serverurl/api.rsc
  4. Select Generic Credentials and specify the API Server username and authentication token
  5. Select the entity you wish to visualize
  6. Select fields and choose a chart type

More Information & Free Trial

At this point, you have created a simple dashboard from live Oracle Eloqua Reporting data. For more information on creating OData feeds from Oracle Eloqua Reporting (and more than 150 other sources), visit the API Server page. Download a free, 30-day trial and start working live Oracle Eloqua Reporting data in tools that consume OData APIs.

Ready to get started?

Learn more or sign up for a free trial:

CData API Server