Microsoft SharePoint includes many built-in content types. All but one of these content types are derived from other built-in content types, and they can be organized in a hierarchy based on parentage. At the top of the hierarchy is the System content type. Next below System is the Item content type, which is derived from System and from which all other content types ultimately derive.
SharePoint list throttling limits to access maximum 5000 items through view/query. However your list can hold as much as 30,000,000 items but you can’t access more than 5000 items at once by view or query. But I’ve seen scenarios where list items goes millions in a year. So accessing large list having more than 5000 items not very rare in real life.
After deploying several event receivers to a variety of lists I found that one of the event receivers did not seem to be working, but instead was firing a old version of the DLL.
So, to check that it was indeed attached, I ran the following PowerShell command.
$spWeb = Get-SPWeb –Identity <SharePointWebUrl>
$spList = $spWeb.Lists["List Display Name"]
$spList.EventReceivers | Select Name, Assembly, Type
After running this I discovered that one of the event receivers had been attached to the list twice! I’m not entirely sure why or how this happened, but my problem was resolved by deleting the duplicate receivers and reattaching it once.
In a publishing environment we often create custom page layouts based on our own content types, and of course if we are also creating custom site definitions, we’ll probably want to create pages in the site defs which are based on our custom page laouts – how do we do this?