选择字段 - 超过1000行数据 [英] Choice field - More than 1000 rows of data

查看:77
本文介绍了选择字段 - 超过1000行数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我有一个自定义列表,我需要在其中添加一个选择字段(下拉列表类型)。问题是选择值超过5000.

I have a custom list, in which I need to add a choice field ( dropdown type ). The Problem is the choice values are more than 5000.

使用这些值的行,应该采用什么方法,因为我认为列表会出现性能问题?

With this rows of values, what should be the approach used, as I believe the list will have performance issue ?

谢谢

推荐答案

Venkatzeus,

Hi, Venkatzeus,

首先,我想确认您需要在列1000或5000中使用多少行数据?此外,我假设您正在使用SharePoint 2010.如果不是您的情况,请设置我。

First I want to confirm that how many rows of data do you need to use in the column, 1000 or 5000? Also I assume you are using SharePoint 2010. Please set me right if that is not your scenario.

选择列的值存储为连接文本。此限制为255个字符,因此如果您有50个选项,则每个选项的平均长度只能为4个字符(分号用于分隔连接中的每个值)。由于您有大量的b $ b b选项,因此在我看来,查找列将是更好的选择。

A Choice column's values are stored as concatenated text. The total limit for this is 255 characters, so if you have 50 choices, each one can only be 4-characters long on average (a semicolon is used to separate each value in the concatenation). As you have large amount of choices, it appears to me a lookup column will be a better choice.

创建一个包含所有必需选项的新列表,并使用查阅列搜索该列表中的值。如果你有1000行选择,那么这就是你需要做的。如果您有超过5000种选择,则需要更改 列表视图阈值
到大于您选择的数字,否则列将无法正确显示。

Create a new list containing all the needed choices and use a lookup column to search for values in that list. If you have 1000 rows of choices, then that is all you need to do. If you have over 5000 choices, you need to change  the list view threshold to a number larger than your choices, or the column will not show properly.

关于如何更改列表视图阈值,请检查:
https://blogs.msdn.microsoft.com/dinaayoub/2010/04/ 22 / sharepoint-2010-how-to-change-the-list-view-threshold-and-resources-throttling-settings /

About how to change list view threshold, please check this: https://blogs.msdn.microsoft.com/dinaayoub/2010/04/22/sharepoint-2010-how-to-change-the-list-view-threshold-and-other-resource-throttling-settings/

我列出了一个包含SharePoint 2010中有超过27000条记录,查阅列工作正常。

I made a list containing over 27000 records in SharePoint 2010 and a lookup column works fine.

最好的问候

Jerry Xu


这篇关于选择字段 - 超过1000行数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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