Skip to main content

Posts

Showing posts from April, 2011

STSADM Command Line Reference

Database AddcontentDB stsadm.exe -o addcontentdb            -url   -databasename            [-databaseserver ]            [-databaseuser ] DeletcontentDB stsadm.exe -o deletecontentdb  -url            -databasename            [-databaseserver ] Feature Activatefeature    stsadm.exe -o activatefeature            {-filename | -name | -id }            [-url ]   [-force] Deactivatefeature    stsadm.exe -o deactivatefeature            {-filename | -name | -id }            [-url ]...

Introduction to Content Types

http://msdn.microsoft.com/en-us/library/ms472236.aspx Create a site content type based on the Document parent content type On the Site Actions menu click Site Settings and Modify All Site Settings . On the Site Settings page under Galleries , click Site content types . On the Site Content Type Gallery page, click Create . On the New Site Content Type page, type a Name for the content type (for example Samples), select Document Content Types from the Select parent content type from drop-down list box. Select Document from the Parent Content Type drop-down list box, select Custom Content Types from the Existing group drop-down list box, and click OK . On the Site Content Type page under Settings , click Advanced settings . On the Site Content type, Advanced Settings page, select Upload a new document template , and then click Browse to browse to and select the excel document ...

Upgrade Sharepoint Site 2007-2010

Database Changes: Take Backup of the current content database of myrtb site(2007 site) from SQL Server. In SQL Management Studio, create new DB and restore the content database, need to change an option in the "options" tab of the restore dialog to get it to work. (Overwrite db). Site Changes: Create a "New Web Application" in SP2010. Remove Content Database of newly Created site. c:\program files\common files\microsoft shared\web server extentions\14\bin. stsadm -o deletecontentdb -url http://*** -databasename -databaseserver . Now restore the DB to the created Web Application from STSADM stsadm -o addcontentdb -url http://*** -databasename yourcontentdb -databaseserver yoursqlserver