使用SharePoint Designer 2010 设计BDCin SharePoint Foundation Server

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。

具体细节此处省略:

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

9, 进入 http://SUT02

看到有EmployeeList表:

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

实时了解作者更多技术文章,技术心得,请关注微信公众号“轩脉刃的刀光剑影”

本文基于署名-非商业性使用 3.0许可协议发布,欢迎转载,演绎,但是必须保留本文的署名叶剑峰(包含链接http://www.cnblogs.com/yjf512/),且不得用于商业目的。如您有任何疑问或者授权方面的协商,请与我联系

原文地址:https://www.cnblogs.com/yjf512/p/1754170.html