We’ve talked about the AUTO REST feature of ORDS for TABLES quite a few times here. What I want to talk about today is how you can take advantage of that TABLE REST API in your favorite Excel spreadsheets.

The Oracle Visual Builder Add-in for Excel ‘allows Excel users to edit business data available from REST services.’ Well, that’s pretty much what ORDS offers. You can find the docs here.

The installer is very simple. Open Excel and you’ll see a new item in your ribbon.

This is what you’re looking for.

Hit the ‘Designer’ button, and you’ll get prompted for a URI that contains ‘open-api-catalog’, and I gave mine this

http://localhost:8080/ords/hr/open-api-catalog/beers/

ORDS OpenAPI links for REST enabled tables includes the docs for the GET, PUT, POST, and DELETE end points on your collection – which in this case, is my UNTAPPD table.

Once it gets started, it’ll ask for a username/password. I left mine blank, but I’ve also tested the ORDS user/password basic auth, and both work just fine.

You’ll get the list of columns back in your table.

So far, so good.

Now comes the fun part – hit the ‘Download Data button’

It’ll fetch data until it gets to 499 rows, and then ask you if you want to GET the rest or not:

I said, ‘OK!

Now I have some data in my Excel sheet. Let’s change a value.

I changed a label for my beer, and marked the ‘Change’ column.

Gonna hit that Upload Changes button next.

And…success!

Cool, cool.

This smells like witchcraft to me, let’s go check the database.

OK, I guess it works!

So what does this mean?

The VBCS team built a nice plug-in for Excel. If you have an ORDS REST Enabled TABLE, you can now also use Excel as a front end for managing your data. Now, I might rather you build an APEX app for that, but folks do seem to like Excel an awful lot…

thatjeffsmith
Author

I'm a Master Product Manager at Oracle for Oracle SQL Developer. My mission is to help you and your company be more efficient with our database tools.

Write A Comment