Monday 28 November 2011

Script to Automate the WSP deployment and to activate features

This post is regarding the usage of a simple script to automate the wsp installation and featue activation. Whenever we want to deploy components like custom web parts,  custom user control and custom application pages etc. we use sharepoint solution packages for deployment and then we activate the respective features manually. It is a tediou job to install the wsps and  activate the features manually, if we have multiple solution packages to be deployed. To automate this, we can use the the following script to install wsp and activate features.

 :begin
@echo off

set solutionName=Custom.MyTask
set SolutionPath=D:\Custom\Custom.MyTask.wsp
set featureSampleFeature1=Custom.MyTask
set featureSampleFeature2=Custom.MyTaskWPDeployment
set featureSampleFeature3=Custom.MyTask.WebConfigChange

rem ** Replace this value with the URL of your site **
@set url=http://vsalbtstwfe10:10110


@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%path%

stsadm -o retractsolution   -name %solutionName%.wsp -immediate
stsadm -o execadmsvcjobs
stsadm -o deletesolution -name %solutionName%.wsp -override

echo Adding solution %solutionName% to solution store...
echo ----------------------------------------------------

stsadm -o addsolution -filename %SolutionPath%
if errorlevel == 0 goto :deploySolution

echo ### Error adding solution %solutionName%
echo .
goto end

:deploySolution
echo Deploying solution %solutionName%...
echo ----------------------------------------------------
stsadm -o deploysolution -name %solutionName%.wsp -url %url% -immediate -allowGacDeployment -allowCasPolicies  -force
stsadm -o execadmsvcjobs

if errorlevel == 0 goto :activateFeature

echo ### Error deploying solution %solutionName%
echo .
goto end

:activateFeature

echo Activating feature %featureSampleFeature1% in solution %solutionName%...
echo ----------------------------------------------------

stsadm -o activatefeature -name %featureSampleFeature1% -url %url% -force

echo Activating feature %featureSampleFeature2% in solution %solutionName%...
echo ----------------------------------------------------

stsadm -o activatefeature -name %featureSampleFeature2% -url %url% -force


echo Activating feature %featureSampleFeature3% in solution %solutionName%...
echo ----------------------------------------------------
stsadm -o activatefeature -name %featureSampleFeature3% -url %url% -force

if errorlevel == 0 goto :success

echo ### Error activating features
echo .
goto end

:success
echo Successfully deployed solution and activated feature(s)..
echo .
goto end

:end
pause


Friday 25 November 2011

SharePoint Service Application Names and ID's


SharePoint Feature Name, ID and Scope Details


DisplayName Id Scope
AccSrvApplication 1cc4b32c-299b-41aa-9770-67715ea05f25 Farm
AccSrvMSysAso 29ea7495-fca1-4dc6-8ac1-500c247a036e Web
AccSrvRestrictedList a4d4ee2c-a6cb-4191-ab0a-21bb5bde92fb Web
AccSrvShell bcf89eb7-bca1-4468-bdb4-ca27f61a2292 Web
AccSrvSolutionGallery 744b5fd3-3b09-4da6-9bd1-de18315b045d Site
AccSrvSolutionGalleryStapler d5ff2d2c-8571-4c3c-87bc-779111979811 Farm
AccSrvUserTemplate 1a8251a0-47ab-453d-95d4-07d7ca4f8166 Web
AccSrvUSysAppLog 28101b19-b896-44f4-9264-db028f307a62 Web
AddDashboard d250636f-0a26-4019-8425-a5232d592c09 Web
AdminLinks fead7313-ae6d-45dd-8260-13b563cb4c71 Web
AdminReportCore b8f36433-367d-49f3-ae11-f7d76b51d251 Site
AdminReportCorePushdown 55312854-855b-4088-b09d-c5efe0fbf9d2 Farm
AnnouncementsList 00bfea71-d1ce-42de-9c63-a44004ce0104 Web
AssetLibrary 4bcccd62-dcaf-46dc-a7d4-e38277ef33f4 Site
BaseSite b21b090c-c796-4b0f-ac0f-7ef1659c20ae Site
BaseSiteStapling 97a2485f-ef4b-401f-9167-fa4fe177c6f6 Farm
BaseWeb 99fe402e-89a0-45aa-9163-85342e865dc8 Web
BaseWebApplication 4f56f9fa-51a0-420c-b707-63ecbb494db1 WebA.
BasicWebParts 00bfea71-1c5e-4a24-b310-ba51c3eb7a57 Site
BCSModel_Feature1 08570f0f-6163-4255-9826-f8c41dad74bd Farm
BDR 3f59333f-4ce1-406d-8a97-9ecb0ff0337f Web
BICenterDashboardsLib f979e4dc-1852-4f26-ab92-d1b2a190afc9 Web
BICenterDataconnectionsLib 26676156-91a0-49f7-87aa-37b1d5f0c4d0 Web
BICenterSampleData 3992d4ab-fa9e-4791-9158-5ee32178e88a Web
BizAppsCTypes 43f41342-1a37-4372-8ca0-b44d881e4434 Site
BizAppsFields 5a979115-6b71-45a5-9881-cdc872051a69 Site
BizAppsListTemplates 065c78be-5231-477e-a972-14177cc5b3c7 Web
BizAppsSiteTemplates 4248e21f-a816-4c88-8cab-79d82201da7b Site
BulkWorkflow aeef8777-70c0-429f-8a13-f12db47a6d47 Farm
BulkWorkflowTimerJob d992aeca-3802-483a-ab40-6c9376300b61 WebA.
CallTrackList 239650e3-ee0b-44a0-a22a-48292402b8d8 Web
CirculationList a568770a-50ba-4052-ab48-37d8029b3f47 Web
ContactsList 00bfea71-7e6d-4186-9ba8-c047ac750105 Web
ContentLightup 0f121a23-c6bc-400f-87e4-e6bbddf6916d Farm
ContentTypeHub 9a447926-5937-44cb-857a-d3829301c73b Site
ContentTypePublish dd903064-c9d8-4718-b4e7-8ab9bd039fff Web
ContentTypeSettings fead7313-4b9e-4632-80a2-ff00a2d83297 Farm
ContentTypeSyndication 34339dc9-dec4-4256-b44a-b30ff2991a64 WebA.
CTypes 695b6570-a48b-4a8e-8ea5-26ea7fc1d162 Site
CustomClaimsProvider_Custom... ab2b7011-492c-4487-beb7-42d7a7f33cd1 Farm
CustomList 00bfea71-de22-43b2-a848-c05709900100 Web
DataConnectionLibrary 00bfea71-dbd7-4f72-b8cb-da7ac0440130 Web
DataConnectionLibraryStapling cdfa39c6-6413-4508-bccf-bf30368472b3 Farm
DataSourceLibrary 00bfea71-f381-423d-b9d1-da7a54c50110 Web
DeploymentLinks ca2543e6-29a1-40c1-bba9-bd8510a4c17b Web
DiscussionsList 00bfea71-6a49-43fa-b535-d15c05500108 Web
DMContentTypeSettings 1ec2c859-e9cb-4d79-9b2b-ea8df09ede22 Farm
DocId b50e3104-6812-424f-a011-cc90e6327318 Site
DocumentLibrary 00bfea71-e717-4e80-aa17-d0c71b360101 Web
DocumentManagement 3a4ce811-6fe0-4e97-a6ae-675470282cf2 WebA.
DocumentRouting 7ad5272a-2694-4349-953e-ea5ef290e97c Web
DocumentRoutingResources 0c8a9a47-22a9-4798-82f1-00e62a96006e Site
DocumentSet 3bae86a2-776d-499d-9db8-fa4cdc7884f8 Site
DownloadFromOfficeDotCom a140a1ac-e757-465d-94d4-2ca25ab2c662 Farm
EMailRouting d44a1358-e800-47e8-8180-adf2d0f77543 Web
EnhancedHtmlEditing 81ebc0d6-8fb2-4e3f-b2f8-062640037398 Farm
EnhancedTheming 068bc832-4951-11dc-8314-0800200c9a66 Site
EnterpriseWiki 76d688ad-c16e-4cec-9b71-7b7f0d79b9cd Web
EnterpriseWikiLayouts a942a218-fa43-4d11-9d85-c01e3e3a37cb Site
EventsList 00bfea71-ec85-4903-972d-ebe475780106 Web
ExcelServer e4e6a041-bc5b-45cb-beab-885a27079f74 Farm
ExcelServerDeactivateProgra... 7c939ea0-196e-4759-ad06-8bc2a64ed4e5 Site
ExcelServerEdit b3da33d0-5e51-4694-99ce-705a3ac80dc5 Site
ExcelServerEditStapler 095f7b90-f808-40a8-8e41-1483906e8fae Farm
ExcelServerSite 3cb475e7-4e87-45eb-a1f3-db96ad7cf313 Site
ExcelServerWebApplication e15ed6d2-4af1-4361-89d3-2acf8cd485de WebA.
ExcelServerWebPart 4c42ab64-55af-4c7c-986a-ac216a6e0c0e Site
ExcelServerWebPartStapler c6ac73de-1936-47a4-bdff-19a6fc3ba490 Farm
ExpirationWorkflow c85e5759-f323-4efb-b548-443d2216efb5 Site
ExternalList 00bfea71-9549-43f8-b978-e47e54a10600 Web
FacilityList 58160a6b-4396-4d6e-867c-65381fb5fbc9 Web
FastCentralAdminHelpCollection 38969baa-3590-4635-81a4-2049d982adfa Site
FastEndUserHelpCollection 6e8f2b8d-d765-4e69-84ea-5702574c11d6 Site
FastFarmFeatureActivation d2d98dc8-c7e9-46ec-80a5-b38f039c16be Farm
FCGroupsList 08386d3d-7cc0-486b-a730-3b4cfe1b5509 Web
FeaturePushdown 0125140f-7123-4657-b70a-db9aa1f209e5 Farm
Fields ca7bd552-10b1-4563-85b9-5ed1d39c962a Site
GanttTasksList 00bfea71-513d-4ca0-96c2-6a47775c0119 Web
GBWProvision 6e8a2add-ed09-4592-978e-8fa71e6f117c Web
GBWWebParts 3d25bd73-7cd4-4425-b8fb-8899977f73de Web
GlobalWebParts 319d8f70-eb3a-4b44-9c79-2087a87799d6 Farm
GridList 00bfea71-3a1d-41d3-a0ee-651d11570120 Web
GroupWork 9c03e124-eef7-4dc6-b5eb-86ccd207cb87 Web
HelpLibrary 071de60d-4b02-4076-b001-b456e93146fe Site
Hold 9e56487c-795a-4077-9425-54a1ecb84282 Web
HolidaysList 9ad4c2d4-443b-4a94-8534-49a23f20ba3c Web
IMEDicList 1c6a572c-1b58-49ab-b5db-75caf50692e6 Web
InPlaceRecords da2e115b-07e4-49d9-bb2c-35e93bb9fca9 Site
ipfsAdminLinks a10b6aa4-135d-4598-88d1-8d4ff5691d13 Farm
IPFSAdminWeb 750b8e49-5213-4816-9fa2-082900c0201a Web
IPFSSiteFeatures c88c4ff1-dbf5-4649-ad9f-c6c426ebcbf5 Site
IPFSTenantFormsConfig 15845762-4ec4-4606-8993-1c0512a98680 Web
IPFSTenantWebProxyConfig 3c577815-7658-4d4f-a347-cfbb370700a7 Web
IPFSWebFeatures a0e5a010-1329-49d4-9e09-f280cdbed37d Web
IssuesList 00bfea71-5932-4f9c-ad71-1557e5751100 Web
IssueTrackingWorkflow fde5d850-671e-4143-950a-87b473922dc7 Site
LegacyDocumentLibrary 6e53dd27-98f2-4ae5-85a0-e9a8ef4aa6df Web
LegacyWorkflows c845ed8d-9ce5-448c-bd3e-ea71350ce45b Site
LinksList 00bfea71-2062-426c-90bf-714c59600103 Web
ListTargeting fc33ba3b-7919-4d7e-b791-c6aeccf8f851 Farm
LMSWEbConfig_LMSWebConfigMo... 6f88b617-b0ed-484d-80fc-df6f6f2b1a11 WebA.
LocalSiteDirectoryControl 14aafd3a-fcb9-4bb7-9ad7-d8e36b663bbd Site
LocalSiteDirectoryMetaData 8f15b342-80b1-4508-8641-0751e2b55ca6 Web
LocalSiteDirectorySettingsLink e978b1a6-8de7-49d0-8600-09a250354e14 Site
LocationBasedPolicy 063c26fa-3ccc-4180-8a84-b6f98e991df3 Site
ManageUserProfileServiceApp... c59dbaa9-fa01-495d-aaa3-3c02cc2ee8ff Farm
MasterSiteDirectoryControl 8a663fe0-9d9c-45c7-8297-66365ad50427 Farm
MetaDataNav 7201d6a4-a5d3-49a1-8c19-19c4bac6e668 Web
MobileEwaFarm 5a020a4f-c449-4a65-b07d-f2cc2d8778dd Farm
MobileExcelWebAccess e995e28b-9ba8-4668-9933-cf5c146d7a9f Site
MobilePowerPointViewer 893627d9-b5ef-482d-a3bf-2a605175ac36 Site
MobileWordViewer 8dfaf93d-e23c-4471-9347-07368668ddaf Site
MobilityRedirect f41cc668-37e5-4743-b4a8-74d1db3fd8a4 Web
MossChart 875d1044-c0cf-4244-8865-d2a0039c2a49 Site
MpsWebParts 39dd29fb-b6f5-4697-b526-4d38de4893e5 Web
MySite 69cc9662-d373-47fc-9449-f18d11ff732c Farm
MySiteBlog 863da2ac-3873-4930-8498-752886210911 Site
MySiteCleanup 0faf7d1b-95b1-4053-b4e2-19fd5c9bbc88 Farm
MySiteHost 49571cd1-b6a1-43a3-bf75-955acc79c8d8 Site
MySiteHostBranding_My Site ... 3aac9d1a-ebcb-412d-92e5-b394acfc8ca9 Site
MySiteHostPictureLibrary 5ede0a86-c772-4f1d-a120-72e734b3400c Web
MySiteLayouts 6928b0e5-5707-46a1-ae16-d6e52522d52b Site
MySiteNavigation 6adff05c-d581-4c05-a6b9-920f15ec6fd9 Web
MySitePersonalBranding_MySi... 93eeb8e3-a860-479b-835c-80f11005013e Farm
MySitePersonalBranding_Mysi... 841a0715-b009-468e-af78-62ec0ad2231e Site
MySitePersonalSite f661430e-c155-438e-a7c6-c68648f1b119 Site
MySiteQuickLaunch 034947cc-c424-47cd-a8d1-6014f0e36925 Web
Navigation 89e0306d-453b-4ec5-8d68-42067cdbf98e Site
NavigationProperties 541f5f57-c847-4e16-b59a-b31e90e6f9ea Web
NoCodeWorkflowLibrary 00bfea71-f600-43f6-a895-40c0de7b0117 Web
ObaProfilePages 683df0c0-20b7-4852-87a3-378945158fab Web
ObaProfilePagesTenantStapling 90c6c1e5-3719-4c52-9f36-34a97df596f7 Farm
ObaSimpleSolution d250636f-0a26-4019-8425-a5232d592c01 Web
ObaStaple f9cb1a2a-d285-465a-a160-7e3e95af1fdd Farm
OfficeWebApps 0c504a5c-bcea-4376-b05e-cbca5ced7b4f Site
OfficeWebAppsStapling fb67f269-fd1d-4f9a-af0b-50f5755e19d7 Farm
OffWFCommon c9c9515d-e4e2-4001-9050-74f980f93160 Site
OneNote 3d433d02-cf49-4975-81b4-aede31e16edf Site
OpenInClient 8a4b8de2-6fd8-41e9-923c-c7c3c00f8295 Site
OrganizationsClaimHierarchy... 9b0293a7-8942-46b0-8b78-49d29a9edd53 Farm
OSearchBasicFeature bc29e863-ae07-4674-bd83-2c6d0aa5623f WebA.
OSearchCentralAdminLinks c922c106-7d0a-4377-a668-7f13d52cb80f Farm
OSearchEnhancedFeature 4750c984-7721-4feb-be61-c660c6190d43 WebA.
OSearchHealthReports e792e296-5d7f-47c7-9dfa-52eae2104c3b Site
OSearchHealthReportsPushdown 09fe98f3-3324-4747-97e5-916a28a0c6c0 Farm
OSearchPortalAdminLinks edf48246-e4ee-4638-9eed-ef3d0aee7597 Farm
OsrvLinks 068f8656-bea6-4d60-a5fa-7f077f8f5c20 Web
OssNavigation 10bdac29-a21a-47d9-9dff-90c7cae1301e Web
OSSSearchEndUserHelpFeature 03b0a3dc-93dd-4c68-943e-7ec56e65ed4d Site
OSSSearchSearchCenterUrlFea... 7acfcb9d-8e8f-4979-af7e-8aed7e95245e Web
OSSSearchSearchCenterUrlSit... 7ac8cc56-d28e-41f5-ad04-d95109eb987a Site
PageConverters 14173c38-5e2d-4887-8134-60f9df889bad WebA.
PersonalizationSite ed5e77f7-c7b1-4961-a659-0de93080fa36 Web
PictureLibrary 00bfea71-52d4-45b3-b544-b1c71b620109 Web
PortalLayouts 5f3b0127-2f1d-4cfd-8dd2-85ad1fb00bfc Site
PowerPointBroadcastJanitorJob cfc6eb4f-b5a9-4c11-b214-00dd22c7e7b5 WebA.
PowerPointBroadcastServer 30a6403b-b04f-42cc-805a-bc4d77826253 Site
PowerPointBroadcastVisibility 412c7903-14f8-480a-8e98-3c5817906f70 Site
PowerPointEditServer 738250ba-9327-4dc0-813a-a76928ba1842 Site
PowerPointServer 5709298b-1876-4686-b257-f101a923f58d Site
PPSDatasourceLib 5d220570-df17-405e-b42d-994237d60ebf Web
PPSMonDatasourceCtype 05891451-f0c4-4d4e-81b1-0dabd840bad4 Site
PPSSiteCollectionMaster a1cb5b7f-e5e9-421b-915f-bf519b0760ef Site
PPSSiteMaster 0b07a7f4-8bb8-4ec0-a31b-115732b9584d Web
PPSSiteStapling 8472208f-5a01-4683-8119-3cea50bea072 Farm
PPSWebParts ee9dbf20-1758-401e-a169-7db0a6bbccb2 Site
PPSWorkspaceCtype f45834c7-54f6-48db-b7e4-a35fa470fc9b Site
PPSWorkspaceList 481333e1-a246-4d89-afab-d18c6fe344ce Web
PremiumSite 8581a8a7-cf16-4770-ac54-260265ddb0b2 Site
PremiumSiteStapling a573867a-37ca-49dc-86b0-7d033a7ed2c8 Farm
PremiumWeb 0806d127-06e6-447a-980e-2e90b03101b8 Web
PremiumWebApplication 0ea1c3b6-6ac0-44aa-9f3f-05e8dbe6d70b WebA.
ProfileSynch af847aa9-beb6-41d4-8306-78e41af9ce25 Farm
Publishing 22a9ef51-737b-4ff2-9346-694633fe4416 Web
PublishingLayouts d3f51be2-38a8-4e44-ba84-940d35be1566 Site
PublishingPrerequisites a392da98-270b-4e85-9769-04c0fde267aa Site
PublishingResources aebc918d-b20f-4a11-a1db-9ed84d79c87e Site
PublishingSite f6924d36-2fa8-4f0b-b16d-06b7250180fa Site
PublishingStapling 001f4bd7-746d-403b-aa09-a6cc43de7942 Farm
PublishingTimerJobs 20477d83-8bdb-414e-964b-080637f7d99b WebA.
PublishingWeb 94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb Web
Ratings 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 Site
RecordResources 5bccb9a4-b903-4fd1-8620-b795fa33c9ba Site
RecordsCenter e0a45587-1069-46bd-bf05-8c8db8620b08 Web
RecordsManagement 6d127338-5e7d-4391-8f62-a11e43b1d404 Farm
RedirectPageContentTypeBinding 306936fd-9806-4478-80d1-7e397bfa6474 Web
RelatedLinksScopeSettingsLink e8734bb6-be8e-48a1-b036-5a40ff0b8a81 Web
ReportCenterSampleData c5d947d6-b0a2-4e07-9929-8e54f5a9fff9 Web
Reporting 7094bd89-2cfe-490a-8c7e-fbace37b4a34 Site
ReportListTemplate 2510d73f-7109-4ccc-8a1c-314894deeb3a Web
ReportServer e8389ec7-70fd-4179-a1c4-6fcb4342d7a0 Site
ReportServerCentralAdmin 5f2e3537-91b5-4341-86ff-90c6a2f99aae Site
ReportServerItemSync c769801e-2387-47ef-a810-2d292d4cb05d Web
ReportServerStapling 6bcbccc3-ff47-47d3-9468-572bf2ab9657 Farm
ReviewPublishingSPD a44d2aa3-affc-4d58-8db4-f4a3af053188 Site
ReviewPublishingSPD1033 19f5f68e-1b92-4a02-b04d-61810ead0409 Site
ReviewWorkflows 02464c6a-9d07-4f30-ba04-e9035cf54392 Site
ReviewWorkflowsSPD b5934f65-a844-4e67-82e5-92f66aafe912 Site
ReviewWorkflowsSPD1033 3bc0c1e1-b7d5-4e82-afd7-9f7e59b60409 Site
ScheduleList 636287a7-7f62-4a6e-9fcc-081f4672cbf8 Web
SearchAdminWebParts c65861fa-b025-4634-ab26-22a23e49808f Web
SearchAndProcess 1dbf6063-d809-45ea-9203-d3ba4a64f86d WebA.
SearchExtensions 5eac763d-fbf5-4d6f-a76b-eded7dd7b0a5 Site
SearchServerWizardFeature e09cefae-2ada-4a1d-aee6-8a8398215905 Site
SearchWebParts eaf6a128-0482-4f71-9a2f-b1c650680e77 Site
SharedServices f324259d-393d-4305-aa48-36e8d9a7a0d6 Farm
SharePointLearningKit 00057002-c978-11da-ba52-00042350e42e Web
SharePointLearningKitAdmin 00057005-c978-11da-ba52-00042350e42e Farm
SharePointLearningKitAssign... fcef4757-bc3f-42c0-8a37-a09e010fcd57 Web
SharePointLearningKitAssign... eba21329-10fb-411c-9a28-62ec10a95446 Web
SharePointLearningKitWebParts 47c03bc9-aac7-447d-aac4-33c495c96eea Site
SignaturesWorkflow 6c09612b-46af-4b2f-8dfc-59185c962a29 Site
SignaturesWorkflowSPD c4773de6-ba70-4583-b751-2a7b1dc67e3a Site
SignaturesWorkflowSPD1033 a42f749f-8633-48b7-9b22-403b40190409 Site
SiteHelp 57ff23fc-ec05-4dd8-b7ed-d93faa7c795d Site
SiteSettings fead7313-4b9e-4632-80a2-98a2a2d83297 Farm
SitesList a311bf68-c990-4da3-89b3-88989a3d7721 Web
SkuUpgradeLinks 937f97e9-d7b4-473d-af17-b03951b2c66b Farm
SlideLibrary 0be49fe9-9bc9-409d-abf9-702753bd878d Web
SlideLibraryActivation 65d96c6b-649a-4169-bf1d-b96505c60375 Farm
SLKRootDependancies_ADServi... e744cdf1-146e-4136-ad37-cc6a4fa16c6b WebA.
SocialRibbonControl 756d8a58-4e24-4288-b981-65dc93f9c4e5 Farm
SpellChecking 612d671e-f53d-4701-96da-c3a4ee00fdc5 Farm
SPSDisco 713a65a1-2bc7-4e62-9446-1d0b56a8bf7f Farm
SPSearchFeature 2ac1da39-c101-475c-8601-122bc36e3d67 WebA.
SRPProfileAdmin c43a587e-195b-4d29-aba8-ebb22b48eb1a Farm
SSSvcAdmin 35f680d4-b0de-4818-8373-ee0fca092526 Web
StapledWorkflows ee21b29b-b0d0-42c6-baff-c97fd91786e6 Farm
SurveysList 00bfea71-eb8a-40b1-80c7-506be7590102 Web
TasksList 00bfea71-a83e-497e-9ba0-7a5c597d0107 Web
TaxonomyFeatureStapler 415780bf-f710-4e2c-b7b0-b463c7992ef0 Farm
TaxonomyFieldAdded 73ef14b1-13a9-416b-a9b5-ececa2b0604c Site
TaxonomyTenantAdmin 7d12c4c3-2321-42e8-8fb6-5295a849ed08 Web
TaxonomyTenantAdminStapler 8fb893d6-93ee-4763-a046-54f9e640368d Farm
TaxonomyTimerJobs 48ac883d-e32e-4fd6-8499-3408add91b53 WebA.
TeamCollab 00bfea71-4ea5-48d4-a4ad-7ea5c011abe5 Web
TemplateDiscovery ff48f7e6-2fa1-428d-9a15-ab154762043d Farm
TenantAdminBDC 0a0b2e8f-e48e-4367-923b-33bb86c1b398 Web
TenantAdminBDCStapling b5d169c9-12db-4084-b68d-eef9273bd898 Farm
TenantAdminDeploymentLinks 99f380b4-e1aa-4db0-92a4-32b15e35b317 Web
TenantAdminLinks 98311581-29c5-40e8-9347-bd5732f0cb3e Web
TenantAdminSecureStore b738400a-f08a-443d-96fa-a852d0356bba Web
TenantAdminSecureStoreStapling 6361e2a8-3bc4-4ca4-abbb-3dfbb727acd7 Farm
TenantProfileAdmin 32ff5455-8967-469a-b486-f8eaf0d902f9 Web
TenantProfileAdminStapling 3d4ea296-0b35-4a08-b2bf-f0a8cabd1d7f Farm
TimeCardList d5191a77-fa2d-4801-9baf-9f4205c9e9d2 Web
TrackingTask ae3d9093-2103-4155-a582-b7d6a566ecf3 Site
TranslationWorkflow c6561405-ea03-40a9-a57f-f25472942a22 Site
TransMgmtFunc 82e2ea42-39e2-4b27-8631-ed54c1cfc491 Farm
TransMgmtLib 29d85c25-170c-4df9-a641-12db0b9d4130 Web
UpgradeOnlyFile 2fa4db13-4109-4a1d-b47c-c7991d4cc934 Web
UserMigrator f0deabbb-b0f6-46ba-8e16-ff3b44461aeb Farm
V2VPublishedLinks f63b7696-9afc-4e51-9dfd-3111015e9a60 Site
V2VPublishingLayouts 2fbbe552-72ac-11dc-8314-0800200c9a66 Site
ViewFormPagesLockDown 7c637b23-06c4-472d-9a9a-7c175762c5c4 Site
VisioProcessRepository 7e0aabee-b92b-4368-8742-21ab16453d01 Web
VisioProcessRepositoryFeatu... 7e0aabee-b92b-4368-8742-21ab16453d00 Farm
VisioProcessRepositoryUs 7e0aabee-b92b-4368-8742-21ab16453d02 Web
VisioServer 5fe8e789-d1b7-44b3-b634-419c531cfdca Farm
VisioWebAccess 9fec40ea-a949-407d-be09-6cba26470a0c Site
WACentralAdminCustomReports 3ce24023-95a1-4778-85b0-8e9b2bcacc80 Site
WACentralAdminReports 786eaa5b-85d7-4ea0-8998-0b62c8befd94 Site
WACustomReports af6d9aec-7c38-4dda-997f-cc1ddbb87c92 Site
WAEnterpriseFeatureStapler c0c2628d-0f59-4873-9cba-100dad2313cb Farm
WAFeatureStapler 9d46d0d4-af7b-4f2e-8f84-9466ab25766c Farm
WAMaster c04234f4-13b8-4462-9108-b4f5159beae6 Site
WAReports 2acf27a5-f703-4277-9f5d-24d70110b18b Site
WAWebApp 9bf095db-11a4-4568-b92e-e23db80a8777 WebA.
WAWhatsPopularWebPart 8e947bf0-fe40-4dff-be3d-a8b88112ade6 Site
WebPageLibrary 00bfea71-c796-4402-9f2f-0eb9a6e71b18 Web
WebPartAdderGroups 2ed1c45e-a73b-4779-ae81-1524e4de467a Site
WhatsNewList d7670c9c-1c29-4f44-8691-584001968a74 Web
WhereaboutsList 9c2ef9dc-f733-432e-be1c-2e79957ea27b Web
WikiPageHomePage 00bfea71-d8fe-4fec-8dad-01c19a6e4053 Web
WikiWelcome 8c6a6980-c3d9-440e-944c-77f93bc65a7e Web
WordViewer 1663ee19-e6ab-4d47-be1b-adeb27cfd9d2 Site
WorkflowHistoryList 00bfea71-4ea5-48d4-a4ad-305cf7030140 Web
workflowProcessList 00bfea71-2d77-4a75-9fca-76516689e21a Web
Workflows 0af5989a-3aea-4519-8ab0-85d91abe39ff Site
XmlFormLibrary 00bfea71-1e1d-4562-b56a-f05371bb0115 Web

Monday 21 November 2011

SharePoint 2010 Base Types, List Template and Definition IDs, and Content Types IDs

Base Types

These Base Types come from the SPBaseType enumeration.
Base Type ID
Custom List0
Document Library1
Not used2
Obsolete. Use 0 for discussion boards.3
Surveys4
Issues List5

List Definitions

These List Definitions come from the SPListTemplateType enumeration.
Enumeration NameDescriptionID
InvalidTypeNot used -1
NoListTemplateunspecified list type 0
GenericListCustom list 100
DocumentLibraryDocument library 101
SurveySurvey 102
LinksLinks 103
AnnouncementsAnnouncements 104
ContactsContacts 105
EventsCalendar 106
TasksTasks 107
DiscussionBoardDiscussion board 108
PictureLibraryPicture library 109
DataSourcesData sources for a site 110
WebTemplateCatalogSite template gallery 111
UserInformationUser Information 112
WebPartCatalogWeb Part gallery 113
ListTemplateCatalogList Template gallery 114
XMLFormXML Form library 115
MasterPageCatalogMaster Page gallery 116
NoCodeWorkflowsNo Code Workflows 117
WorkflowProcessCustom Workflow Process 118
WebPageLibraryWiki Page Library 119
CustomGridCustom grid for a list 120
SolutionCatalogSolutions 121
NoCodePublicNo Code Public Workflow 122
ThemeCatalogThemes 123
DataConnectionLibraryData connection library for sharing information about external data connections 130
WorkflowHistoryWorkflow History 140
GanttTasksProject Tasks 150
MeetingsMeeting Series (Meeting) 200
AgendaAgenda (Meeting) 201
MeetingUserAttendees (Meeting) 202
DecisionDecisions (Meeting) 204
MeetingObjectiveObjectives (Meeting) 207
TextBoxText Box (Meeting) 210
ThingsToBringThings To Bring (Meeting) 211
HomePageLibraryWorkspace Pages (Meeting) 212
PostsPosts (Blog) 301
CommentsComments (Blog) 302
CategoriesCategories (Blog) 303
FacilityFacility 402
WhereaboutsWhereabouts 403
CallTrackCall Track 404
CirculationCirculation 405
TimecardTimecard 420
HolidaysHolidays 421
IMEDicIME (Input Method Editor) Dictionary 499
ExternalListExternal 600
IssueTrackingIssue tracking 1100
AdminTasksAdministrator Tasks 1200
HealthRulesHealth Rules 1220
HealthReportsHealth Reports 1221

Content Types

These content types come from the Content Type ID list.
Content TypeID
System0x
Item0×01
Document0×0101
Event0×0102
Issue0×0103
Announcement0×0104
Link0×0105
Contact0×0106
Message0×0107
Task0×0108
Workflow History0×0109
Post0×0110
Comment0×0111
East Asia Contact0×0116
Folder0×0120