列表Web部件中的重复值 [英] Duplicate Values in List Web Parts

查看:63
本文介绍了列表Web部件中的重复值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个包含大约7列的表来复制看板。 在每个列中,我添加了一个List Webpart,我从具有许多不同视图的主列表中提取数据。对于每列,我有一个不同的视图
显示列表。 我的用户打开一个正在列中显示的项目,如果需要可以编辑并移动到不同的列等。


我有一个问题,列表中的项目出现了在不同网站部分的多个视图中。 当我查看列表时,确实有一个项目应该有,但由于某种原因它在不同的视图中出现了几次,即使它被标记为只显示在其中一个视图中的



我无法按需复制或找出导致的原因。 有其他人经历过这个并有解决方案吗?

解决方案


这是正常的现象。因为您的观点都来自一个列表。为列表创建新项目时,无论您在哪个视图中,都应显示此项目。除非您为每个视图设置不同的过滤器。


您可以使用过滤器功能来限制其他视图中的项目显示。但是,您需要在每个视图中指定命名规则。


例如,您有7列(列A,列  B,列C ..列G)和每列列表中有一个视图(视图A,视图B ...视图G)显示。确保在视图A中创建的项目标题类似于"视图A 1"。或者"
视图A中的第1项"。


然后转到列表并编辑视图A并设置过滤器,如下所示:



为上述每个视图设置过滤器。


然后,当您在视图B中创建新项目时,您应该将该项目命名为"查看B项目23"。那么这个项目只会显示在视图B中。


祝你好运,


Allen Bai  


I have created a table with about 7 columns to replicate a Kanban board.  In each of those columns, I have added a List Webpart and I'm pulling in data from a master list that has a number of different views. For each column, I have a different view display for the list.  My users open an item that is being displayed in the column and can edit and move to a different column if needed, etc.

I have a problem where the items on the list are showing up in multiple views in different webparts.  When I check the list, there is truly one item as there should be but for some reason it's showing up a couple of times in different views, even though, it's tagged to only show in one of the views.

I cannot replicate on demand or figure out what is causing.  Anyone else experience this and have a solution?

解决方案

Hi,

This is a normal phenomenon. Because your views are all from one list. When you create a new item for the list, no matter you are in which view, this item should appear. Unless you set different filters for each views.

You can use filter function to limit the item display in other view. However, you need to specify the naming rules in each view.

For example, you have 7 columns(column A,column  B, column C.. column G) and in each column there is a view(view A, view B...View G) display for the list. Make sure the title of items created in view A are like "view A 1" or "item 1 in view A".

Then go to the list and edit view A and setup filter like below:

Setup filter for each view like above step.

Then when you create a new item in View B, you should name the item as "View B item 23". Then this item will only display in view B.

Best regards,

Allen Bai 


这篇关于列表Web部件中的重复值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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