Share via

Excel Web App API?

Anonymous
2010-06-09T22:17:56+00:00

I think I already know the answer to this one, but I was wondering whether there was an API for the Excel Web App? Specifically, I was wondering if it was possible (or if it will be possible in the future) to expose data in a spreadsheet in the Excel Web App as an OData feed, in the way that it is possible with Excel Services?

Thanks,

Chris


Blog: http://cwebbbi.spaces.live.com Consultancy: http://www.crossjoin.co.uk/

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-06-10T15:15:07+00:00

Hi Chris,

Clayton is right that we don't have an API for the Excel Web App that's available through SkyDrive now, though we do have a few that are available through Excel Services that is part of SharePoint (I'm not sure which you are referring to).  In SharePoint we have:

  • a SOAP Web Service
  • a javascript OM available in the browser
  • a REST API

More details on all of these are available here: http://msdn.microsoft.com/en-us/library/ms582023.aspx

None of these return odata today, but I'd be very interested to hear the scenarios that you're thinking of for using Excel in this type of situation.

Cheers,

Dan

Was this answer helpful?

0 comments No comments

44 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-06-14T11:56:04+00:00

    Just to make one more point here: the big advantage of doing this would be that, when you published data to the Excel Web App, you'd be creating a resource that was simultaneously human-readable and machine-readable. Consider something like the Guardian Data Store (http://www.guardian.co.uk/data-store): their first priority is to publish data in an easily browsable form for the vast majority of people who are casual readers and just want to look at the data on their browsers, but they also need to publish it in a format from which the data can be retrieved and manipulated by data analysts. Publishing data as html tables serves the first community but not the second; publishing data in something like SQL Azure would serve the second community and not the first, and would be too technically difficult for many people who wanted to publish data in the first place.

    The Guardian are using Google docs at the moment, but simply exporting the entire spreadsheet to Excel is only a first step to getting the data into a useful format for data analysts and writing code that goes against the Google docs API is a hassle. That's why I like the idea of exposing tables/ranges through OData so much: it gives you access to the data in a standard, machine-readable form with minimal coding required, even while it remains in the spreadsheet (which is essentially a human-readable format). You'd open your browser, navigate to your spreadsheet, click on your table and you'd very quickly have the data downloaded into PowerPivot or any other OData-friendly tool.

    Chris 


    Blog: http://cwebbbi.spaces.live.com Consultancy: http://www.crossjoin.co.uk/

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-06-14T10:29:11+00:00

    I'd like to second everything that Chris says here and, like him, my interest is also motivated by being a SQL Server BI guy. Exposing Excel data as OData would be incredibly compelling. I foresee issues around data-typing given that Excel is not particularly strict about such things but I'm sure that hurdle can be overcome.

    I'd also like to raise the subject of URLs that could be used to expose such data (something I touched on previously atSocial Desktop extends REST to your desktop). If we could encode ranges into URLs such as:

    http://cid-qwerty.skydrive.live.com/MyExcelFile.xls?Range=A2:C8

    then we can even expose subsets of a spreadsheet as an addressable resource and that is, I believe, hugely compelling.

    Regards

    Jamie


    http://sqlblog.com/blogs/jamie_thomson/ |@jamiet | About me

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-06-10T17:39:18+00:00

    Thanks for the quick response, guys. My mistake, I'd seen the Excel Services REST API and assumed it was OData...

    Really, the kind of scenarios I was thinking of were similar to the scenarios where the Excel Services API could be used (<heresy>or that the Google Docs API is used</heresy>). Imagine you were creating a simple web-based application for budgeting or planning: you'd set up an Excel spreadsheet, post it to the web, then get everyone to enter their numbers for the coming year into a table. You'd then be able to access the data in that table as an OData feed and be able to analyse it in PowerPivot. I'm a SQL Server business intelligence guy, so this kind of thing appeals to me :-)

    Regards,

    Chris


    Blog: http://cwebbbi.spaces.live.com Consultancy: http://www.crossjoin.co.uk/

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-06-10T14:59:00+00:00

    Hi Chris,

    Currently there are no APIs exposed for Excel Web App, and we are not sure if this will be available in the future.

    ~ Clatonh MSFT


    Clatonh

    Was this answer helpful?

    0 comments No comments