使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

2010-06-08 17:21 by 轩脉刃, ... 阅读, ... 评论, 收藏, 编辑

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:

使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

 

2,使用SharePoint Designer 打开 http://SUT02

使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

 

3,点击左边面板的Site Object的 External Content Types 

  右边弹出External Content Types面板

  点击左上角External Content Type

使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

 

4,输入Name和DisplayName(设为“Employee”)

点击External System 后面的 “Click here to discover...” 链接

 

5,点击Add Connection

Source制定为SQL,并在弹出的对话框中填入Server 和 database的name

使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

 

6,在Data Source Explore中右击Employee 表,选择 Create all operation

 select Id as Picker--> next --> finish -->save

 使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

 

7,点击Create Lists&Form 按钮

在弹出的对话框中填写ListName 和List Description

 使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

 

8, 有的时候需要设置权限,在Centrial Administration site中选择application Service,edit,set object permission。

具体细节此处省略:

http://technet.microsoft.com/en-us/library/ee524076.aspx#setpermissions

 

9, 进入 http://SUT02

看到有EmployeeList表:

使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

 

大功告成~!~!呼呼~~