SharePoint Designer BCS

Steps

  1. Sharepoint designer打开网站
  1. 点击左侧External Content Types

 

 

  1. 点击右上角External Content Type按钮
  1. 点击new external content type新建一个外部内容类型

 

 

  1. 输入Name  e-type,点击下面链接查找datasource

 

 

  1. 点击Add Connection,选择数据源类型(本例选择Sql Server)

 

 

  1. 输入数据库服务器,名称等,下面复选框的数据选择一个(如果需要以后可以改)。本例使用了secre store service(sss),关于三个复选框,参考:http://technet.microsoft.com/library/ee661743(office.14).aspx

 

 

 

  1. 配置完成后会列出数据库和表

 

  1. 右键点击表名,选择New Read List  Operation创建内容类型
  2. next,为避免数据量太大,填写filter
  3. next,选择identifier

P Errors and Warninqs No fields have been selected to be shown in the external item picker control. By default, all fields will be displayed in the external item picker dialog, which may not be the user experience you want. Select a small subset of elements that best describes an item and then select the 慡how in Picker? check box For each one. Data source element CON_ID has a nullable type. Nullable identifiers are not supported in Business Data Connectivity. A null value returned from this data source may cause runtime errors.J Finish Cancel Return Parameter Configuration P Data Source Elements CON_ID P PRODUCT_ID Properties CONJD zJ CON_ID CONJD (Click to Add) r P r r" src="file:///C:/Users/ZHENJU~1.SHA/AppData/Local/Temp/msohtmlclip1/02/clip_image007.png" width=434 height=374>

 

  1. Finish
  2. Sharepoint Designer:File->Save
  3. 打开sharepoint站点,查看网站所有网站内容->创建->列表->外部列表,创建

 

  1. 完成后即可出现列表

 

转载于:https://www.cnblogs.com/csts/archive/2012/06/29/2570348.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值