bdc(business data connectivity):企业拥有自己的数据库,bdc将这个数据库按照分布到bcs模型中。
环境要求:sharepoint foundation 2010;
sharepoint designer 2010;
sql server 2008;
目标:将sql server 2008 中的employee表使用bdc分配到sharepoint web(http://sut02)
1,确保数据库中已经有表employee:

2,使用sharepoint designer 打开 http://sut02
3,点击左边面板的site object的 external content types
右边弹出external content types面板
点击左上角external content type
4,输入name和displayname(设为“employee”)
点击external system 后面的 “click here to discover...” 链接
5,点击add connection
source制定为sql,并在弹出的对话框中填入server 和 database的name
6,在data source explore中右击employee 表,选择 create all operation
select id as picker--> next --> finish -->save
7,点击create lists&form 按钮
在弹出的对话框中填写listname 和list description
8, 有的时候需要设置权限,在centrial administration site中选择application service,edit,set object permission。
具体细节此处省略:
<a href="http://technet.microsoft.com/en-us/library/ee524076.aspx#setpermissions">http://technet.microsoft.com/en-us/library/ee524076.aspx#setpermissions</a>
9, 进入 http://sut02
看到有employeelist表:
大功告成~!~!呼呼~~