Last updated January 1, 2012. Created by apanag on January 1, 2012.
Log in to edit this page.

The oData module can manage and display data provided by any Open Data Web Services using the Views 3 module, via a user friendly UI.

This tutorial describes the workflow you have to follow, in order to create a Views 3 oData display.

For those you don't want to read it, a video is available with more examples.

First of all, you have to create a new Odata endpoint. You have to go to Structure » oData endpoints

Structure oData Endpoint

In admin/structure/odata there is an overview of all your endpoints. You can click on "New oData endpoint", and a little wizard will guide you to create a new oData endpoint.

New oData Endpoint

The first is to enter a title and the root URL of your endpoint. The title will be used from the Views module, in the "Show" drop down menu.

wizard-1

Once you click on the "Add" button, you can choose one of the available collection set, which are available from the endpoint.

wizard-2

After you click on the "Save" button, you will be redirected to the list with all the endpoints. You entry should be there.

In the Manage column, there are available two operations. You can click on "Edit", to edit the endpoint and choose a different collection set. Or you can click the "Delete" link, to delete the associated endpoint.

Manage

Before to create a new View, it is highly recommended to clear all you caches. Altough, a Drupal message will remind you, after an endpoint insertion.

Clear Caches

Now you are ready to add your new View that uses the endpoint you have added. You have to go to Stucture » Views menu. For further help, you can read the Views documentation on how to fully leverage the View 3 module.

About this page

Drupal version
Drupal 7.x
Level
Beginner
Audience
Site administrators
Keywords
odata, open data, views 3

Tutorials and site recipes

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.