Max number of content types per list/library
What is the maximum number of content types for a list or library?
I read a thread on this forum where they talk about a maximum of 2000 content types per library for SP 2013:
http://social.msdn.microsoft.com/Forums/en-US/c53df140-8ed6-4438-8a49-95cdc6ac5fd5/number-of-content-types-per-library?forum=sharepointgeneral
Is this also true for lists in SP 2010?
Thanks for your help!
Thorsten
Hello Thorsten,
I don't see a hard limit in the capacity management article on Technet:
http://technet.microsoft.com/en-us/library/cc262787(v=office.14).aspx#ListLibrary
But I do see limits to number of columns, which of course has a correlation to content types.
- Dennis | Netherlands | Blog |
Twitter
Similar Messages
-
we are on on premise environment, and we have a requirement that when people create a site or a sub site or even when they add a new document library , we want to ensure our custom content type is assigned as default content type to this library.
the question is that is there any non-full trust solution, i know we probably can do it via feature stapling, or custom site template stuff. but they are NOT considered as we want PLA complianceHi,
As I understand, you would like to asscoiate a custom content type to a library when the library is created.
With OOB option, you could try add this content type to an existing library, and save library as template. Then the library template should appear in Your Apps page, that is to say, users can directly create document library based on this template.
As I tested, new document library created based on this template contains custom content type by default.
With programatically methods, please refer to the similar threads below:
https://social.technet.microsoft.com/Forums/en-US/ec9e243b-ea4c-4a46-8780-75a3a5659164/mysite-add-content-type-to-document-library-by-default?forum=sharepointadminprevious
https://social.technet.microsoft.com/Forums/en-US/e58eb107-daa5-4a51-a139-dca2b1cf8591/set-default-content-type-for-document-libraries-on-a-custom-site-template?forum=sharepointdevelopmentprevious
Regards,Please
remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support -
How to assign permissions to choice values when using content types in a library
Hi,
I just now started using content types in document libraries instead of folder structure. The structure I was given is as follows:
Master group (library name)
L.A.
South Street
Number 1
Number 2
North Street
Number 1
Number 2
Boston
West Street
Number 1
Number 2
East street
Number 1
Number 2
India
North Street
Number 1
Number 2
West Street
Number 1
Number 2
So, I created a Content Type called Areas (which included LA, Boston, and India) and I created choice field values for each columns (South street and North street). Then, I gave the choice values as Number 1 and Number 2.
Now, the complexity was in terms of permission levels, wherein the client was accustomed to using folder structure. And hence, they had given a set to users to have access only to Number 1 of West street of Boston. Now that I have the content
type structure in place, how do I configure the granular permission for the 3rd level of the hierarchy?
Shonilchi..Thanks for your post. I had already done this via Windows Explorer, and it works for all of the My Docs files
but not Acrobat files, which still come up in List View. I am running Windows XP still, is that a factor? -
Powershell to add/delete content type to particular library alone in a site collection
Hi,
I am trying to add and delete content type from a particular picture library (site collection) using powershell.
I have tried the below, but it is not working.
Below scenarios are not working:
1) If the content type to be added is there in library, then the loop is still moving to "No content type exists".
2) Content type is not getting deleted from library
3) Set the newly added content type as default content type.
Below is the powershell, which I am trying:
function ChangeContentType($url)
$site = Get-SPSite($url);
$web =$site.RootWeb
$lookForList = "PicLibrary"
$lookForCT = "Img1ContentType"
$lookForRemoveCT = "Image2CT"
write-host "Checking site:"$web.Title
#Make sure content types are allowed on the list specified
$docLibrary = $web.Lists[$lookForList]
if ($docLibrary -ne $null)
$docLibrary.ContentTypesEnabled = $true
$docLibrary.Update()
if (($web.ContentTypes | where { $web.Name -eq $lookForCT }) -eq $null)
write-host "No content type exists with the name" $lookForCT "on list" $docLibrary.Title
#Add site content types to the list
write-host "Adding content type " $lookForCT "on list" $docLibrary.Title
$ctToAdd = $web.ContentTypes[$lookForCT]
$ct = $docLibrary.ContentTypes.Add($ctToAdd)
write-host "Content type" $ct.Name "added to list" $docLibrary.Title
$docLibrary.Update();
else
write-host "content type exists with the name" $lookForCT "on list" $docLibrary.Title
#Remove Content type
if (($web.ContentTypes | where { $web.Name -eq $lookForRemoveCT }) -eq $null)
write-host "No content type exists with the name" $lookForRemoveCT "on list" $docLibrary.Title
else
$ctToRemove = $web.ContentTypes[$lookForRemoveCT]
write-host "Removing content type" $ctToRemove.Name "from list" $docLibrary.Title
$docLibrary.ContentTypes.Delete($ctToRemove.Id)
$docLibrary.Update()
else
write-host "The list" $lookForList "does not exist in site" $web.Title
#Dispose object
$site.Dispose()
$web.Dispose()
How to fix this?
ThanksHi,
Thanks for the reply.
I checked it. If the script is run multiple times, the add and delete content type will throw error.
How to delete content type? I have tried the below:
$docLibrary = $web.Lists[$lookForList]
if ($docLibrary -ne $null)
$docLibrary.ContentTypesEnabled = $true
$docLibrary.Update()
#get the content Type
Write-host "Getting content type $lookForCT in site $web"
#Confirm that the content type exists.
$contentType = $web.ContentTypes | where {$web.ContentTypes.Name -eq $lookForCT}
##Abort if not found.
if ($contentType -eq $null)
Write-host "$lookForCT not found in site collection."
else
if ($web.ContentTypes.Name -eq $lookForCT)
Write-host $docLibrary.ContentTypes.Name
if($docLibrary.ContentTypes.Name -eq $lookForCT)
write-host "Content type $lookForCT is already added to list" $docLibrary.Title
else
write-host "No content type exists with the name" $lookForCT "on list" $docLibrary.Title
write-host "Adding Content Type"
$ctToAdd = $web.ContentTypes[$lookForCT]
$ct = $docLibrary.ContentTypes.Add($ctToAdd)
$docLibrary.Update()
write-host "Content type" $ct.Name "added to list" $docLibrary.Title
#get the content Type
Write-host "Getting content type $lookForRemoveCT in site $web"
#Confirm that the content type exists.
$contentType = $web.ContentTypes | where {$web.ContentTypes.Name -eq $lookForRemoveCT}
##Abort if not found.
if ($contentType -eq $null)
Write-host "$lookForRemoveCT not found in site collection."
else
if ($web.ContentTypes.Name -eq $lookForRemoveCT)
Write-host $docLibrary.ContentTypes.Name
if($docLibrary.ContentTypes.Name -eq $lookForRemoveCT)
write-host "Content type $lookForRemoveCT is added to list" $docLibrary.Title.
write-host "Removing Content type $lookForRemoveCT"
$ctToRemove = $web.ContentTypes[$lookForRemoveCT]
$docLibrary.ContentTypes.Delete($ctToRemove.Id)
$docLibrary.Update()
else
write-host "No content type exists with the name" $lookForRemoveCT "on list" $docLibrary.Title
I am getting error in delete now. Error is "Exception calling "Delete" with "1" argument(s): "Specified argument was out of the range of valid values.
Parameter name: id"
Thanks -
COPA line item report, Number format -output type - object list(ALV).
Hi,
I am preparing COPA line item report. I want to change number format (two decimal place). I did the changes in form level then I did the changes in drill down report as well and saved as save definition.
But changes are not reflecting in- output type - object list(ALV).
Please provide help in this.
RegardsHI
What t-code you are using to write this line item report ? -
Hi,
How to make 'New Document' and 'Upload Document' to have same content type(Custom) in Document Library in Sharepoint2010.
Note : I have created custom Content Type since I have custom columns along with upload column..
Regards, Shreyas R Sgo to library settings
Change new button order and default content type
set your custom content type to be #1
when you upload new document it will automatically have your custom content type
Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010 -
Update content type in list not working
My list content type is not getting updated.
I have a content type defined in a feature. I have created a new column and updated the feature definition and reactivated the feature. I have also written powershell to check and update the content type with the new column. The content type
gets updated but not at the list level. The powershell looks like this:
Function UpdateContentType($contentType, $fieldLink)
if ($contentType.FieldLinks[$fieldLink.Name] -eq $null)
Write-Host Adding Field to content type
$contentType.FieldLinks.Add($fieldLink)
$contentType.Update($true)
I thought the Update method was supposed to push the changes down, but it doesn't seem to be working. This code does work in a different environment so I'm not what is going on.
CarolineYou will need to updated the list also, after updating the content type
This is sample code how you update list which is using the Content Type.
IList<SPContentTypeUsage> usage = SPContentTypeUsage.GetUsages(newsCT);
foreach (SPContentTypeUsage item in usage)
if (item.IsUrlToList)
SPList list = rootWeb.GetList(item.Url);
if (!list.Fields.ContainsField(firstName.InternalName))
list.Fields.Add(firstName);
list.Update();
more information you can check at this link
get2pallav
Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you. -
List custom form with content type drop list
We're building retention polices for our documents we have 18 document type each has different retention period , when user enter document information we need to choose a document content type from dropdown list instead of choosing it from New Item
in ribbon menu, then complete other form fields and save, also ability to change the content type for document item, what is the best practice to complete this task.
BRHey,
Have below link for your reference. It may help you.
How to pass query string parameter to SharePoint
list forms
Thanks. -
Max number of content items in one folder
Hi,
What would be the max limit content item dumped in one folder???
ThanksTake a look, for instance, at this link: http://hishamgalal.blogspot.com/2012/01/increase-maximum-number-of-folders-and.html
There is no factual limit. Only, when there are too many items in one folder, the system does not perform well. Therefore, you may adjust the maximum number of allowed items by two parameters mentioned on the linked page. -
Max number of IP phones per blade
I have read in aCisco manual that the maximum number of IP phones is 18, assuming they use 15,4Watt. On a WS-X4148-RJ45V combined with a PWR-C45-4200ACV that leaves us with 30 ports we can not use for VoIP useing PoE. Or am I wrong?
this is not correct.
every port in the blade can be used for ip phones.
maximum wattage for the WS-X4148-RJ45V is 7 watts per port.
power allocation from an 4148-RJ45V for a cisco ip phone is 6.3 watts. (6.3 x 48= 302.4 watts)
with 2 supII+ & 5 4148-RJ45Vs in a 4507, ~635 watts are used for the blades.
with a 2800watt PS, this provides for 1400 watts for voice power. this allows for upto 222 out of 240 ports that can receive voice power. -
How to restrict max number of client connection per extend server?
Does anybody point me or tell me what is the vm property or config element I need to put so that an extend client will not accept more than specified number of connections at any give point in time.
Hello,
Look at http://coherence.oracle.com/display/COH34UG/acceptor-config the <connection-limit> should do what you want.
Thanks,
Nick -
Hi all,
My client has 300 employers and they manage services. Every employee has his own price and they use timesheet.
Do i have to create 300 activities to correctly track their cost? Or there is a more optimized way to do that?
ThanksHi,
No need to maintain 300 activity.
Price is picked up with KP26 setting(combination of cost center and activity type)
Cost center and activity type is maintained in info type PA0315.
so maintain the different price with different cost center for activity type.
Thanks,
Neha Duseja -
Server 2008 R2 RDP: limit max number of rdp connections per user group?
Hello everyone,
I have a Windows Server 2008 R2 with RDP installed.
I want to create a couple of user groups which will have 5 different users in each. Then I would like to limit RDP connections, let's say 2 connections for the first group and 3 connections for the second group. For example, if 2 users from Group 1 are connected
then when a 3rd user from Group 1 tries to connect it will be rejected to connect, but 3 users from Group 2 still can connect. Is it doable?
Thanks in advance.Hi,
I would like to check if you need further assistance.
If you need help to create script, please post your questions in our related forums.
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home
Thanks.
Jeremy Wu
TechNet Community Support -
Multiple Content types only first 11 visible
We have set up Multiple content types (word templates) for our libraries.
But only the first eleven content types are shown when we click on new document.
I have searched the internet but cannot find a solution for this.
Is there a possibility to show all the content types ?
possible solution that I was thinking off but I can not seem to configure:
- changing the max number of content types that sharepoint displays from 11 to an higher value
- grouping some content types together and split them up this way
- creating an extra "new document" link with a dropdown with other content types
- enabling a scrollbar
The only possibility I see for the moment is to create multiple libraries each of them with a subset of the content types
but that is not really user friendly then they have to search in multiple libraries instead of 1Hi,
According to your description, my understanding is that it displayed only the first eleven content types after you set up multiple content type in your libraries.
I have created lots of content types and added them to library and it worked fine.
Please check the configuration of the content type order in library settings -> Change new button order and default content type, and provide the screen shot about is.
Please add multiple content types you created to other libraries and other libraries in other site collections and test whether this issue occurs.
Best Regards,
Dean Wang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Issue with New Document in a document library with multiple content types
Hi,
I have a created a custom list definition based on a document library. I added 3 content types in this list, one is a document set (lets call it DOCSET), the two others are content types inheriting from Document (DOCA and DOCB).
I deployed the list definition with a site scoped feature and the list instance with a web scoped feature. After activating the two features, the list is created and the content types are present in the list.
When I click in the New Document button and choose either the DOCA or DOCB content type, a Word document opens and the DOCA content type is always associated to this Word document.
With SharePoint Manager 2013 I saw that the template.dotx document was not in the Forms/DOCA or Forms/DOCB folder.
So I decided to remove all the content types from the list definition and add them by code with the ListAdded event receiver. I used list.ContentTypes.Add to add the content types to the list.
With this method the templates are correctly copied from the template.dotx in the RootFolder/Forms folder of my list. These templates have the rights content type id, but the New Document button still does not work properly.
So I looked at the Content Types inside my library and saw that the DocumentTemplateUrl linked to the RootFolder/Forms/template.dotx and not the RootFolder/Forms/DOCA/template.dotx or RootFolder/Forms/DOCB/template.dotx.
I debugged my code to look closer and see that right after the list.ContentTypes.Add, the DocumentTemplateUrl is correclty set but when my EventReceiver finishes, the DocumentTemplateUrl get back to the RootFolder/Forms/template.dotx.
Have you any idea why this is not working ?
RegardsHi,
Per my understanding, there is an issue about the DOCA and DOCB content types which inherits from Document Content Type in your custom list definition.
By default, if there is a custom content type inherits the OOTB Document Content Type, it will also inherits the template.dotx file from the OOTB Document Content Type.
The template URL of a custom content type which inherits the OOTB Document Content Type:
If you want to specify different templates for different content types, the code demo below would be helpful:
http://www.learningsharepoint.com/2010/07/14/programmatically-create-a-new-content-type-in-sharepoint-2010/
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
I changed from iPhone 4s to iphone 5s. While doing the set up, I also renamed my Apple ID. However, allowed the old Id to be an alternate. However, now my iphone refuses to accept the password - neither the new one or the old one. What do I do?
-
Bootcamp ne reconnait pas le CD windows 7 sur mon macbook pro
Bootcamp don't recognyze the windows 7 CD on my macbook pro.
-
Hi Everybody, I have had my T410s for 9 months and I love it. No problems at all. I was a contractor so I could use whatever laptop I wanted. Now I work for a big company that issued me a Thinkpad T410 with Windows XP. Now the T410 model has a huge h
-
Hi forum from Italy, i have created an application (Coldfusion Server Based) that publishes the audio podcast named "Punto Nave" (Point Ship of Italian Coast Guard Radio) on various platforms including iTunes: http://itunes.apple.com/podcast/punto-na
-
Upload Email in to Sharepoint Site
hi can we do Email upload in sharepoint site?.. if yes,pls guide me to upload.. Thanks arWINdh