SharePoint 2010 使用 Web 服务插入可查找外部 BCS 列表的数据
我有 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查找字段将值存储在表单 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