Publishing XML files using Excel Connector

nzblue_fish
nzblue_fish's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 09/30/2009
Points: 1165

Hi fellow mashers,

While trying out the Excel Connector I came across an option in the publishing dialog to specify a local or remote XML file. It occurred to me that this would make it very easy to craft a simple XML file (other than by using Excel) and then publish it as a service. I found a reference in the Excel Connector documentation saying that you must store your published excel data as an XML file, but it doesn't actually say you can also use this connector to publish any XML file.

I tried it yesterday for a quick chart mashlet I wanted to pop on our intranet. Worked like a charm. Just create your XML file, open a blank excel spreadsheet, use the publish option on the Connector add-in, browse to your XML, and publish it. And there it is, your XML published as a service.

Maybe there's another way to do the same thing elsewhere, but this was so simple  ... I had to tell someone :)

Cheers, Innes (NZ)

0
Your rating: None
aishmishra
aishmishra's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 09/24/2008
Points: 3

True Innes, one can publish XML data using Excel Connector.

Do note that, currently, you can publish XML file/data as REST service too. Your XML file will have to be available on a web/application server.

smitchell
smitchell's picture
User offline. Last seen 18 hours 31 min ago. Offline
Joined: 08/29/2008
Points: 34

There is also one advantage of doing XML as a REST service over using the Excel Connector to publish it. Currently, there is a size limit when you publish files from the Excel Connector. This would not be true with a REST service.

 

Sara, technical writer/jackbe

 

nzblue_fish
nzblue_fish's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 09/30/2009
Points: 1165

Thanks guys ... always good to know a better way of getting to the end result.

Cheers, Innes