Overview of the Business Data Catalog
The Sharepoint Business Data Catalog, or BDC for short, is an easy way to use builtin web part support to connect to and analyze data from multiple database managementsystems. The two I have worked with using BDC are SQL Server 2005 and Oracle 10g.
In addition to the build in business data web parts in Sharepoint 07 such asbusiness data list and business data item some have created custom web parts to consumeBDC data and present it graphically.
An example is the BDC Mapper web part that will display BDC data via a map interface.A neat blog entry is posted where we can use Nick’s version from Lightning Tools ormake our own. (readit here)
We can also create our own custom web parts and use BDC Application Definitions topresent data in any custom format we wish without having to do all the overhead ofconnecting to the datasource.
Application Definitions
In order to use the BDC you must create an Application Definition. This is an XMLfile that describes your data source, how to connect to it, and the various queries,actions, and filters to display and sort the data. This can be created in three wayscurrently: (1) by hand, not fun (2) using BDC Meta Man or Microsoft BDC DefintionEditor or another third party tool (3) a combination of 1 and 2, my favorite.
Although BDC Meta Man is great and seems much easier to use than Microsoft’s toolit is also very costly for the Professional version ($1200 at this writing). Althoughthere is a free version it allows for very little. You can add only two tables (entities)and cannot add views. The best solution for me was to use both of the previously mentionedtools to model my data and then combine code manually to get what I really wanted.I edited the final XML in Dreamweaver. This is also a good way to start in order tolearn the XML required instead of having a generator create it all for you.
Sites to Learn
I would write an article here about getting started with the BDC but I’ve found severalsites that are great for learning and I used them myself to get started. When I havea bit more time I will blog more about the BDC and create a tutorial.
MikeBosch has a great video tutorial on using BDC Meta Man to connect to SQL and createan Application Definition file
Probablyone of the best and most extensive tutorials is one I found on Winsmarts.com.Sahil takes us through all aspects of creating the XML Definition file from scratchand gives a full understanding of what is required.
MSDN hasa large amount of information on the subject, go figure
Tools of Interest
BDC MetaMan from Lightning Tools
Microsoft Business Data Catalog Definition Editor is FREE and available in the Sharepoint2007 SDK (getit here)
XMLNotepad from Microsoft
Dreamweaver CS3 was also very helpful
Questions
Should you have any questions feel free to drop me a line through comments.
