大家好,欢迎来到IT知识分享网。
Steps
- Sharepoint designer打开网站
- 点击左侧External Content Types
- 点击右上角External Content Type按钮
- 点击new external content type新建一个外部内容类型
- 输入Name e-type,点击下面链接查找datasource
- 点击Add Connection,选择数据源类型(本例选择Sql Server)
- 输入数据库服务器,名称等,下面复选框的数据选择一个(如果需要以后可以改)。本例使用了secre store service(sss),关于三个复选框,参考:http://technet.microsoft.com/library/ee661743(office.14).aspx
- 配置完成后会列出数据库和表
- 右键点击表名,选择New Read List Operation创建内容类型
- next,为避免数据量太大,填写filter
- 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>
- Finish
- Sharepoint Designer:File->Save
- 打开sharepoint站点,查看网站所有网站内容->创建->列表->外部列表,创建
- 完成后即可出现列表
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/33823.html