I sat down with the AdventureWorks2000 Business Data Catalog (BDC) sample for Microsoft Office SharePoint 2007 recently. Before I launched into it, my big question was, What is the BDC?

In SharePoint 2003, it was possible to display data from an external source, such as your company's database or web services, in SharePoint. Write a custom web part, have it query the data source, and display the data.  The big difference with the BDC in 2007 is that this data can now be fully integrated throughout SharePoint, just like Active Directory data. You can search on it using SharePoint's search engine, you can expose it via web parts shipped with SharePoint, or you can write your own to do entirely new things with it. No longer is the data stranded on a web part island.

By the way, setting up a BDC connection is no trivial endeavor. You must write a complex XML document which maps the data in your data source, as well as the method you use to connect, so SharePoint knows what to do with it. Once it's done, though, the BDC gives your portal a pretty powerful way to show people what's going on, right now, inside your company's systems.

To get started with the BDC, I worked through the AdventureWorks2000 Sample on MSDN. Todd Baginski has a nice SharePoint blog and has created a tool for generating BDC metadata automatically. I haven't used it but it might save you some time.

with 0 Comments

Microsoft Office SharePoint Server 2007 gives developers a great degree of control over the look and feel of their site.  I set out recently to figure out just exactly how much customization was possible, and what was practical.  While the technical details are explained well elsewhere, high level, here's what I found:

Because SharePoint pages are just ASP.NET, you can customize them just as you would a standard ASP.NET 2.0 web page.  Just to see how much I could do, I took my personal site and went crazy with layout and style changes. In this example, I modified only the master page for the site, adding new style declarations at the top and changing the HTML throughout.

Before:

...and after:

Unfortunately, this wasn't as easy as it could have been. Since working on the new Windows Marketplace, which we built using an entirely CSS-based layout, I'm used to having a lot more control over the UI by only modifying the styles. SharePoint's out-of-the-box pages use a traditional table-based layout, which increases the amount of time and hassle it takes to create a site as dramatically different as this one.