I have updated the "SharePoint: RegistrationId List Template Type IDs" article to include the new 2013 list types. This time, I used a PowerShell script to dump the SPListTemplateType enumeration. Note that there are many template IDs that are not in the SPListTemplateType enumeration and generally can only be found in investigations of the databases and other documentation.
The PowerShell script: (Works in both SP 2010 and 2013)
PS C:\> $SPtt = [Microsoft.SharePoint.SPListTemplateType]
PS C:\> [System.Enum]::GetNames($SPtt) | select {$_}, {[int][System.Enum]::Parse($SPtt, $_)}
.
No comments:
Post a Comment