Sharepoint BDC - 检查名称不起作用
长话短说:
我的 sharepoint 2007 服务器中有一个 BDC 应用程序定义,它从 SQL 服务器提取数据。
其中一些数据是员工姓名。
我想做的是,当用户在 BDC 列(自定义列表中)中写入员工姓名的一部分,然后单击“检查姓名”时,它将向他显示可用姓名的列表成立。 (就像这个用户列类型:)
现在,在现实生活中使用 BDC 时会发生什么,我没有看到可用用户列表。
任何解决此问题的帮助将不胜感激!
Long story short:
I have a BDC application definition in my sharepoint 2007 server, which is pulling data from a SQL server.
Some of this data is the Employee Name.
What i'm trying to do, is that when a user is writing a portion of the employee name in the BDC column (in the custom list) and then clicks 'Check Names', it will show him a list of the available names it found. (Like this user column type:)
now, what happens in real life when using BDC, is that i dont see the list of available users.
Any help solving this issue would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以解决此问题,在 Finder 方法中为姓名字段添加过滤器,并将属性“UsedForDisambiguation”设置为“true”
例如:此过滤器适用于员工姓名字段:
然后,升级 BDC,当用户编写名称并单击“检查名称”按钮 sharepoint 将尝试使用 SpecificFinder(按 ID)查找员工,如果未找到任何内容,则将尝试使用此过滤器查找员工。
问候!
you could resolve this problem addin a Filter for the Name Field inside the Finder method, and setting the property "UsedForDisambiguation" with "true"
Ex: This filter applys to the employee name field:
Then, upgrade the BDC and when the user write the name and click the "Check names" button sharepoint will try to find the employee using the SpecificFinder (by ID), and if nothing is found then will try to find employees with this filter.
Regads!