How to: Use the K2 OData Feed with Microsoft Excel

Exposing SmartObject data through the SmartObject OData API provides powerful integration with third party tools like Excel. This topic shows you how to access the service in Excel to analyze and chart SmartObject data using Excel functionality.

Using the OData service, you can build custom reports and other interfaces based on SmartObject data. Create custom reports using workflow reporting data and data stored in a line of business system as long as you have SmartObjects created for that system.

Before You Begin

You must enable the SmartObject OData API and configure SmartObjects first. See Configuring the SmartObject OData Service. Copy the URL for the OData Feed connection from the Management page.


  1. In Excel, select the DATA tab and the click on the down arrow of the From Other Sources option. Then click From OData Data Feed.

  2. Pastethe OData URL into the Location of the data feed text box. Then, in the Log on credentials, select the Use this name and password, and type in yourUser Name and Password. The feed URL is on the K2 Management page:

    The OData API is an IIS-hosted app and configured with Basic authentication that requires your Active Directory username and password (or Azure Active Directory if K2 is in the cloud).

    IIS performs the initial authentication and authorization and then pass the user’s credentials to the K2 server. At this point, the user is authenticated again.

    You can pre-select a SmartObject in the OData feed by adding the name of that SmartObject to the end of the OData URL. For example:

  3. Click Next.
  4. Select the SmartObjects that you want to add to the spreadsheet.

  5. Click Finish.
  6. Select how you want the SmartObject data to be viewed in the spreadsheet, and the location in the spreadsheet.

  7. Click on OK.
  8. Now that the data is available in Excel, you can use standard Excel analysis and reporting features, such as PivotTables, to design and build your reports.

K2 Cloud User Guide