【东方瑞通】利用SharePoint中的BDC服务,连接并展示外部业务数据
SharePoint Server 2013中的BDC(Business Data Connectivity Service)服务,为企业提供了连接外部数据的功能。企业通过SharePoint企业门户,对第三方系统业务数据进行直接操作。例如:添加、修改、删除等一系列操作。下面我们来看一下,如何配置外部业务数据的连接与展示。1、在SharePoint管理中心中,启动BDC服务。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/deed6148-9458-4b4a-a3b5-68afd1fc6910.png
2、确认数据库系统中,需要连接的第三方业务数据。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/b3b6ff36-d12e-4de9-9690-ac2b4e8fe46e.png
3、使用SharePoint Designer 2013连接SharePoint站点,并打开“外部内容类型”选项,单击“外部内容类型”。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/4717be94-71e8-4fc6-b953-a6865bae8e49.png
4、填写外部内容类型“名称”,随后单击“外部内容类型操作”窗口中的“单击此处发现外部数据并定义操作”。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/e903789a-e852-4f84-8b30-fa505e9951ac.png
5、单击“添加连接”
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/d8bc68ad-eb6a-4549-9302-2b5ba0a24a6e.png
6、选择“SQL Server”
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/0f3a23d7-1978-4e2b-a72f-2220e89d4170.png
7、填写“数据库服务器”和“数据库名称”,完成数据库连接配置。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/cc08fed1-8524-490d-8fd1-a2fa9f39c334.png
8、右键单击要连接的数据表,选择“创建所有操作“。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/02a23054-f8d7-4553-97a5-47626b0a0dd8.png
9、选择相应数据字段,勾选定义为“标识符“,单击“完成”。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/a85ca7ae-4785-4a21-826b-3d7ec72731b0.png
10、单击保存,完成外部内容类型的添加。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/7a9a8f01-f33b-4730-a042-b3818e9cb149.png
11、访问SharePoint管理中心,进入“管理服务应用程序”,单击“Business Data Connectivity Service“。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/eb65b833-0123-4102-8a29-1540ed828e3a.png
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/d0259678-bf3c-4984-a9ab-f00c6cf8270a.png
12、访问SharePoint站点,添加“外部数据”应用程序,并绑定创建好的“外部内容类型”,即可通过SharePoint平台访问该第三方业务数据。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/dc4eab1c-5228-464b-b83d-319cb27b7bae.png
13、若遇到如下报错信息,请添加访问者对外部内容类型的访问权限。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/a0b82373-a75a-437f-a8fb-1414cdabd233.png
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/48483f53-a2aa-437e-9224-de82ca3ffc65.png
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/33705a0f-3385-4279-883c-b582003808a7.png
14、若遇到如下报错信息,则需添加报错用户的数据库访问权限。
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/759b6b75-a454-4b07-a447-e94878866951.png
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/b1aa796a-77e1-42ff-94dc-faa35e9db367.png
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/7f9f25b5-36fd-4bac-85d1-c6fd67aaa501.png
http://115.28.154.201:1089/Content/ueditor/net/upload/2015-07-10/7ebd91a1-dece-437a-9534-41ea296dddf6.png
此文出自东方瑞通孟兆文老师,转载需注明出处。
页:
[1]