SharePoint 2010 使用 Web 服务插入可查找外部 BCS 列表的数据

发布于 2024-10-06 22:18:28 字数 532 浏览 0 评论 0原文

我有 2 个 SharePoint 列表:

列表 A:这是一个使用 Business Connectivity Services 连接到 CRM 的外部列表。 列表 B:此列表包含链接到列表 A 的查找字段。

我正在使用 SharePoint Web 服务:http:// myserver/_vti_bin/Lists.asmx,插入数据。

问题:该值已插入,但未链接到 BCS。 (即当我进入插入的列表项中的编辑模式时,该字段为空)。

尝试的方法:我尝试过使用列表 A 中的各种字段,包括 ID 字段和其他字段,但没有任何效果。我还尝试使用 Web 服务检索列表 A 项目,并使用值模式(在本例中:它只是 CRM 中的客户名称),但它仍然不起作用。

可能的错误原因:插入的BCS值模式错误。

大家有什么想法吗?

I've got a 2 SharePoint lists:

List A: This is an external list that's using Business Connectivity Services to connect to CRM.
List B: This list contains a lookup field that linked into List A.

I am using the SharePoint web service: http://myserver/_vti_bin/Lists.asmx, to insert the data.

Problem: The value is inserted, however, it's not linked into BCS. (i.e. When I go to edit mode in the inserted list item, the field is blank).

Methods tried: I have tried using various fields in my List A, including the ID Field and other fields, but none works. I have also tried retrieving List A items using the web service, and use the value pattern (in this case: it's just the customer name in CRM), but it still doesnt work.

Possible cause of error: The value pattern of the BCS inserted is wrong.

Any ideas guys?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南渊 2024-10-13 22:18:28

查找字段将值存储在表单 ID;#Value 中。 ID 是父列表项 ID,vlaue 是父查找列值。因此,如果您要更新/添加任何值到此列,请以格式 ID 添加;#Value

Lookup fields store value in form ID;#Value. ID is parent list item ID and vlaue is parent lookup column value. so if you are updating/adding any value to this column please add this in format ID;#Value

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文