Pages

Monday, October 22, 2007

stsadm import error

got this error while importing a doc library with versioning off.
anyone seen this before?



FatalError: Specified method is not supported.
at Microsoft.SharePoint.SPList.set_MajorVersionLimit(Int32 value)
at Microsoft.SharePoint.Deployment.ListSerializer.UpdateListData(SPList list,
Dictionary`2 listMetaData, SPImportSettings settings)
at Microsoft.SharePoint.Deployment.DocumentLibrarySerializer.UpdateListData(S
PList list, Dictionary`2 listMetaData, SPImportSettings settings)
at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, S
erializationInfo info, StreamingContext context, ISurrogateSelector selector)
at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType,
Boolean isChildObject)
at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type object
Type, Boolean isChildObject, DeploymentObject envelope)
at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializat
ionStream)
at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serial
izationStream)
at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReade
r xmlReader)
at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
at Microsoft.SharePoint.Deployment.SPImport.Run()
Progress: Import Completed.
Finish Time: 10/22/2007 12:13:13 PM.

Thursday, October 11, 2007

Custom Columns don't show up in Crawled Properties

Are you having this problem?

here's why: http://randomdust.com/blogs/ryan/archive/2007/07/25/site-column-to-crawled-property-to-managed-property.aspx

basically, you need to have data using that custom column before it shows up!

Thanks ryan!


Tuesday, October 2, 2007

Site/web template names

go here:
http:/[website]/_layouts/templatepick.aspx.

view source and search for list of template names to get their code names.
these code names can be used in the manifest.xml for the property "WebTemplate=" or in creating a site with stsadm.exe -sitetemplate

may as well put them here for ya!

"STS#0" - Team Site
"STS#1" - Blank Site
"STS#2" - Document Workspace
"MPS#0" - Basic Meeting Workspace

"MPS#1" - Blank Meeting Workspace
"MPS#2" - Decision Meeting Workspace
"MPS#3" - Social Meeting Workspace
"MPS#4" - Multipage Meeting Workspace
"WIKI#0" - Wiki Site
"BLOG#0" - Blog

"BDR#0" - Document Center
"NDEXIntranetSiteDefinition_6e96d78d-5267-42b9-acd2-2c43a0fec193#0" - NDEXIntranetSiteDefinition
"OFFILE#1" - Records Center
"ProposalManager_3f2812cf-9ab7-4c71-bf90-38507c574783#0" - ProposalManager
"SPSSITES#0" - Site Directory
"SPSREPORTCENTER#0" - Report Center

"SPSPORTAL#0" - Collaboration Portal
"SRCHCEN#0" - Search Center with Tabs
"BLANKINTERNETCONTAINER#0" - Publishing Portal
"SPSMSITEHOST#0" - My Site Host
"SRCHCENTERLITE#0" - Search Center

supposedly you can change the site template of a site after creation by following this:
http://blogs.msdn.com/jackiebo/archive/2007/02/23/sharepoint-content-migration-object-model-and-content-migration-packages.aspx

but i haven't gotten it working yet to change my blank template site collection --> a publishing site collection