Slipped in Under Our Noses: SharePoint 2013 Now has the OData/REST $metadata Operator!

When SharePoint 2013 was released, one of the biggest additions was the mostly full adoption and implementation of the OData [REST] API. I’ve writted in the past how I prefer the OData API over the CSOM API (as well as some of the libraries I use to make life easier), but one knock on them was the lack of one big piece: the implementation of the $metadata operator.

The $metadata operator on an OData service is one of the biggest selling points of an OData service. This is what makes the service self-describing. It is what enables Visual Studio to create a proxy for the service. But the SharePoint team elected to not include it due to a few bugs before shipping SharePoint 2013. This was a major let down.

However last week I learned very soon before one of my sessions at the SharePoint Intersections conference that it was now present in Office 365’s SharePoint Online! I mentioned it during my talk. Rob Windsor was in the room and went digging… unfortunately things aren’t as easy as they should be (are they ever with SharePoint these days?) as Rob blogged about late last week showing how to leverage it with a Office 365 based site.

And after my talk, I learned from Microsoft that in addition, it was also included in a cumulative update for those of us with SharePoint 2013 on-premises deployments. Paul Schaeflein went digging and found that the $metadata operator is included in the April 2013 cumulative update.

Awesome stuff! Now time to dig in and see if I can get something working that I’ve wanted to use in SharePoint for a long time… stay tuned!

from Andrew Connell http://www.andrewconnell.com:80/blog/slipped-in-under-our-noses-sharepoint-2013-now-has-the-odata-rest-metadata-operator
via IFTTT

Advertisements
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s