在SharePoint列表中检查并突出显示重复项 [英] Check and highlight duplicates from within SharePoint list

查看:119
本文介绍了在SharePoint列表中检查并突出显示重复项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在重新设计团队中用于记录事件的表单.我正在使用InfoPath 2013,并且全部基于O365 SharePoint上的列表.表单一旦保存,就会在列表中添加一个条目,作为已记录"票证.

I am currently re-designing a form for logging incidents in my team. I am using InfoPath 2013 and it is all based off a List on O365 SharePoint. The form will add an entry to the list once saved which acts as a 'logged' ticket.

其中一个字段要求输入客户帐号.在现有表单上,我以此为基础(由于服务器端版本,它位于无法与InfoPath连接的旧SharePoint上,因此不能仅复制设置),当您 例如,键入帐号"000000000",然后单击文本字段,短暂的停顿后,将在高亮显示(带有链接)使用该帐号记录的任何其他票证(列表项)的下方显示一条消息.

One of the fields requires a customer account number to be entered. On the existing form I am basing this off (it's on an old SharePoint that I can't connect to with InfoPath due to the server side version so can't just copy the set up), when you type the account number '000000000' for example and click off the text field, after a short pause, a message is displayed underneath highlighting (with links to) any other tickets (list items) that are logged with that account number.

我显然无法张贴图片,所以我将描述它的外观...

I can't post images apparently so i'll describe what it looks like... 

我已经在单行文本框中键入了帐号.当我单击此按钮时,下面会显示一条消息,提示还有另一条具有相同帐号的记录,请确保您没有提出重复的要求.  3个重复的项目. 000000000 000000000 000000000"

I have typed the Account Number to a single line of text box. When I click off this, a message appears underneath saying "There is another record with the same Account Number, please check that you are not raising a duplicate. 3 duplicate items. 000000000 000000000 000000000" 

该列表找到了3个项目.每次显示000000000时,它都是指向先前添加的另一个列表项的链接.

The list has found 3 items. Each time 000000000 is shown, it is a link to a different list item added previously.

任何人都可以提供有关如何将此功能复制到新表格中的指南吗?我在不同的论坛上或任何教学视频中都找不到任何答案.可能就是我不知道要搜索什么.

Please can anyone provide guidance on how to replicate this feature into the new form? I haven't been able to find any answers on different forums or any instructional videos. It may be I just don't know what to search for.

例如,作为奖励,我希望将结果限制为上周内添加的项目,但希望这样做的愿望不那么迫切.

As a bonus, I want to limit the results to the items added within the last week for example but less desperate to be able to do this.

帮助表示赞赏!

谢谢

推荐答案

您好,AJ,您应该能够通过数据连接和查询来做到这一点.筛选是为了使查询查找相同的值并返回结果.以下是一些示例,可帮助您入门:

Hi AJ- you should be able to do that with a data connection and query. Filter is so that the query looks for the same value and returns the results. Here are a couple examples to get you going:

https://wonderlaura.com/2011/08/01/infopath-query-specific-sharepoint-list-data/


这篇关于在SharePoint列表中检查并突出显示重复项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆