This post will demonstrate the configuration of a SharePoint 2007 BDC application definition and connection.
Requirements:
SharePoint Server 2007
SharePoint SDK
Adventure Works Database
Instructions:
Download details- http://www.microsoft.com/downloads/details.aspx?familyid=6D94E307-67D9-41AC-B2D6-0074D6286FA9&displaylang=en
Download details- http://www.codeplex.com/MSFTDBProdSamples
Click on the Setup.exe to install Application Definition Designer.
Replace
myServerAddress with SQL Server Name
myDatabase with AdventureWorks or the database name in case you are using a database other than AdventureWorks.
After replacing these details click on connect
This will prompt you with a screen "Enter the name for the LOB System". Give some meaningful name to your ADF File.
Expand the tree structure based on the screen shot above and select Find_[AdventureWorks] and then click on Execute.
Enter a valid value to see if it pulls up the correct result. I picked the value "1" by looking at the table DimProduct in SQL Management Studio
Now we know that our connection and Find functions are working properly.
On successful import we will get the message "Application definition Import Successful "
We have selected EnglishDescription,EnglishProductName,ModleName,ProductAlternateKey,ProductKey and ProductLine.
The value under "Display this field of the selected type" is the one against which the Check name feature will work
Click on Ok
Test- This is our BDC Column.
Complete! You have now configured a BDC connection from SharePoint to the AdventureWorks database.
We can create and develop more complex BDC solutions using various other tools
For more information about the application definition file itself, please see
http://www.microsoft.com/resources/msdn/en-us/office/media/MOSS2007CreatingBusinessDataCatalogs.wvx