今すぐお試しください!

製品の詳細CData JDBC Driver for BigCommerce を確認して、無償評価版をダウンロード:

今すぐダウンロード

Enable the CData JDBC Driver for BigCommerce in KNIME

Use standard data access components in KNIME to create charts and reports with BigCommerce data.

One of the strengths of the CData JDBC Driver for BigCommerce is its cross-platform support, enabling integration with major BI tools. Follow the procedure below to access BigCommerce data in KNIME and to create a chart from BigCommerce data using the report designer.

Define a New JDBC Connection to BigCommerce Data

  1. If you have not already done so, install the Report Designer extension: Click File -> Install KNIME Extensions, and filter on "Report".
  2. In a new workflow, click File -> Preferences and expand the KNIME -> Database Driver nodes to add cdata.jdbc.bigcommerce.jar. The driver JAR is located in the lib subfolder of the installation directory.
  3. In the Node Repository view, expand the Database node and drag a Database Reader onto the workflow editor.
  4. Double-click the Database Reader and set the following properties:

    • Database Driver: In the menu, select the CData JDBC driver.
    • Database URL: Enter the connection properties. The JDBC URL begins with jdbc:bigcommerce: and is followed by a semicolon-separated list of connection properties.

      BigCommerce authentication is based on the standard OAuth flow. To authenticate, you must initially create an app via the Big Commerce developer platform where you can obtain an OAuthClientId, OAuthClientSecret, and CallbackURL. These three parameters will be set as connection properties to your driver.

      Additionally, in order to connect to your BigCommerce Store, you will need your StoreId. To find your Store Id please follow these steps:

      1. Log in to your BigCommerce account.
      2. From the Home Page, select Advanced Settings > API Accounts.
      3. Click Create API Account.
      4. A text box named API Path will appear on your screen.
      5. Inside you can see a URL of the following structure: https://api.bigcommerce.com/stores/{Store Id}/v3.
      6. As demonstrated above, your Store Id will be between the 'stores/' and '/v3' path paramters.
      7. Once you have retrieved your Store Id you can either click Cancel or proceed in creating an API Account in case you do not have one already.

      A typical JDBC URL is below. jdbc:bigcommerce:OAuthClientId=YourClientId; OAuthClientSecret=YourClientSecret; StoreId='YourStoreID'; CallbackURL='http://localhost:33333'

    • User Name: The username used to authenticate.
    • Password: The password used to authenticate.
    • SQL Statement: Enter an SQL query in the SQL Statement box or double-click a table. This article uses the query below to create a chart: SELECT FirstName, LastName FROM Customers WHERE FirstName = 'Bob'
  5. Test the connection by clicking Fetch Metadata.

  6. Connect the Database Reader to a Data to Report node to supply the dataset to a range of data visualization controls. Click Execute and then click Edit Report at the top of the workflow to open the report designer perspective.
  7. You can now generate reports based on live data. To create a chart, drag the chart control from the palette to the report designer. In the resulting wizard, you can use the filtering and aggregation controls available in KNIME.
 
 
ダウンロード