[SPS2010] 使用心得 10 – External Data

SPS2010 是通过BCS (Business Connectivity Services) 来连接外部数据(external data) - 这是SPF也有的功能。

外部数据(external data) 是指 1) 数据库 2) WCF服务 3) .NET

BCS可以用于 1) content type 2) list 3) lookups 4) 搜索 5) 工作流 6) 客制化 7) InfoPath 8) 清单 9) Ribbon action。

 

开发工具:

  • sharepoint 2010 central administration
    • 管理profile pages
    • 管理用户权限
    • 管理actions
    • 管理搜索源
  • sharepoint designer 2010 (免费)
    • 图形界面
    • power user
    • 数据库连接
    • 工作流
  • visual studio 2010

 

打开 Sharepoint design 2010

[SPS2010] 使用心得 10 – External Data_第1张图片  

 

打开sharepoint site

[SPS2010] 使用心得 10 – External Data_第2张图片

 

点击 external content type

 [SPS2010] 使用心得 10 – External Data_第3张图片

填写外部数据库的信息

[SPS2010] 使用心得 10 – External Data_第4张图片

点击 external system

[SPS2010] 使用心得 10 – External Data_第5张图片

点击 “add connection” - 选择数据源

[SPS2010] 使用心得 10 – External Data_第6张图片

 

打开数据源-选择数据操作

[SPS2010] 使用心得 10 – External Data_第7张图片

操作详情

[SPS2010] 使用心得 10 – External Data_第8张图片

 

参数一一设置 - 直到所有错误消失

[SPS2010] 使用心得 10 – External Data_第9张图片

设置过滤条件

[SPS2010] 使用心得 10 – External Data_第10张图片

 

保存

[SPS2010] 使用心得 10 – External Data_第11张图片

新增的list

[SPS2010] 使用心得 10 – External Data_第12张图片

用IE打开

[SPS2010] 使用心得 10 – External Data_第13张图片

如果编辑List,数据库中的信息也会随之改变。

这个功能很讨人喜欢,并且用途广泛。

你可能感兴趣的:(extern)