Connecting to Data

In this section:

You can configure adapters and connect to data sources that you can use to build reports, charts, and visualizations using WebFOCUS. You can also create a synonym for one or more data objects, or create cluster synonyms for select objects assigned as facts or dimensions.

You can connect to data in the following ways:

Note: The Report button appears in the Designer category if you have enabled the Technical Preview feature.

Configuring Adapters

How to:

Connect to Data creates a connection to your data, which will allow you to modify your data for use in WebFOCUS. You can configure a new adapter or connection, add a connection to an existing adapter, or change adapter connections.

The initial Connect to Data screen displays a panel for selecting or configuring adapters, and also for uploading data, as shown in the following image.

Procedure: How to Configure a New Adapter/Connection

  1. In the Connect to Data panel, click New Datasource.

    The Available adapter dialog box opens, as shown in the following image.

  2. Right-click an adapter name and click Configure.

    Note: If the adapter has multiple versions, right-click the adapter name and select which version to configure.

    The Configuration dialog box opens, as shown in the following image.

  3. Enter the parameters for the specific adapter in the dialog box.
  4. Click Test, if available, to test your configuration.
  5. Click Configure.

    Note: Once configured, the adapter appears beneath Server Datasources in the Connect to Data panel.

Procedure: How to Add a Connection

  1. In the Connect to Data panel, under Server Datasources, right-click a configured adapter.

    A shortcut menu opens, as shown in the following image.

    Note: These menu options are for a SQL adapter. Options may differ for different categories of adapters.

  2. Click Add Connection.
  3. Enter the parameters for the specific adapter in the dialog box.
  4. Click Test, if available, to test your configuration.
  5. Click Configure.

Procedure: How to Change a Connection

  1. In the Connect to Data panel, under Server Datasources, right-click a configured adapter.
  2. Click Properties.
  3. Change the parameters for the specific connection in the dialog box and click Configure.

Creating Synonyms

How to:

You can create Base or Cluster Synonyms. A Cluster Synonym is made up of multiple Base Synonyms connected by Joins.

Procedure: How to Create a Synonym

  1. In the Connect to Data panel, under Server Datasources, right-click a configured adapter.

    A shortcut menu opens, as shown in the following image.

    Note: These menu options are for a SQL adapter. Options may differ for different categories of adapters.

  2. Click Show DBMS objects from the shortcut menu.

    The Available Objects panel opens, as shown in the following image.

  3. Select from the available object Filter options.

Procedure: How to Create a Cluster Synonym

  1. Select the Cluster Synonym radio button. This is the default setting.

    Available Cluster Synonym candidates display.

  2. Select the Fact or Dimension of the object for which you want to create a Cluster Synonym, as shown in the following image.
  3. You can change the name of any selected Base synonym in the Default Synonym Name field.
  4. To display related Dimensions, right-click a selected object name, and select Show Related Dimensions.
  5. To add related Dimensions, select Add Related Dimensions.

    Note: Show and Add Related Dimensions options are only available for Relational data sources if Foreign Key to Primary key information is available in the RDBMS.

    The related dimensions are automatically selected, as shown in the following image.

  6. Click the arrow icon from the ribbon to proceed.

    Your Cluster Synonym selection displays, as shown in the following image.

  7. Enhance your Cluster Synonym from the panels or ribbon, as needed.
  8. Click the arrow icon from the ribbon to proceed.

    The Save As dialog box opens, as shown in the following image.

  9. You can change the name of your Cluster Synonym in the Selection field.
  10. Click OK.

    You are returned to the Home Page. A message displays indicating your new data is available. A shortcut to your new data is added to the repository folder from where you connected to data, as shown in the following image.

    From the shortcut menu options, you can edit your data by selecting Edit, or create new content by selecting New, as shown in the following image.

Procedure: How to Create a Base Synonym

  1. Select the Base Synonym radio button.

    Available Base Synonym candidates display.

  2. Select the object for which you want to create a Base Synonym, as shown in the following image.
  3. Click the arrow icon from the ribbon to proceed.

    Your Base Synonym selection displays, as shown in the following image.

  4. Enhance your Base Synonym from the panels or ribbon, as needed.
  5. Click the arrow icon from the ribbon to proceed.

    The Save As dialog box opens, as shown in the following image.

  6. You can change the name of your Base Synonym in the Selection field.
  7. Click OK.

    You are returned to the Home Page. A message displays indicating your new data is available. A shortcut to your new data is added to the repository folder from where you connected to data, as shown in the following image.

    From the shortcut menu options, you can edit your data by selecting Edit, or create new content by selecting New, as shown in the following image.


WebFOCUS