业务数据目录导入后无法在添加业务数据列表Web Part时显示

问题:

使用Business Data Catalog Definition Editor (Exchange 2007 SDK中的工具),定义好业务数据目录并生成好.xml, 在SharePoint 管理中心 > 共享服务 > 业务数据目录 - 导入应用程序定义 中导入该.xml成功。然而在SharePoint 站点某页面添加 业务数据列表web part时,浏览窗口中却没有列出刚添加的业务数据定义!

 

解决:

 

(from - http://www.sharepointassist.com/2009/01/08/business-data-catalog-bdc-how-to/)

 

BUG ALERT - The BDC Editor has a bug that doesn’t allow it to properly create the finder method (thank you Stefano Demilani for finding this). When you import your application definition as created, you will receive an error stating There are no Business Data types loaded into the catalog when attempting to add a Business Data List to a web part page.

 

To prevent the bug above from becoming a nightmare expand out your Entities and update the MethodInstanceType to be “Finder” instead of IdEnumerator

 

Replace “IdEnumerator” with “Finder”

 

Update the FindAll* method’s RDBCommandText with several columns instead of only the ID field

 

If you do add addition columns to the FindAll method you will need to add references to these columns in the Reader portion of the FindAll parameters.

 

注意:修改 FindAll* method的RDBCommandText时注意其语法应类似:

 

select "ProductID", "Name" from Product

 

而不是

 

select "ProductID, Name" from product

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值