Welcome to Office & SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

Customize Sharepoint 2007: correct method and how to deploy

Last post 11-06-2007, 3:49 AM by kaishenghoo. 1 replies.
Sort Posts: Previous Next
  •  06-21-2007, 4:57 AM 28437

    Customize Sharepoint 2007: correct method and how to deploy

    Hi,
    I have e wss 3.0 site and I've had to implement a solution for an advanced document library management.

    I've added some workflows from the site admin pages, modified some list views with Sharepoint Designer, implemented an event handler and added some custom aspx pages in the _layouts folder.

    This site is on a dev server, now I have to deploy this site on the production server

    My questions are

    1) seen that my customization are both on db (sharepoint designer views, workflows) and file system (custom pages, eventhandler) which is the correct procedure to move the site to another server?
    2) Is this "mixed mode" customization ok? or there is a better method to do that?

    Thanks in advance

  •  11-06-2007, 3:49 AM 28802 in reply to 28437

    Re: Customize Sharepoint 2007: correct method and how to deploy

    Hi LaFra,

    Speaking from experience, it is pretty much normal to have "mixed mode" customization for SharePoint as we would (and could) utilize many of SharePoint's flexibility for customization to achieve the business requirements.

    This is what I would normally do:

    1. Develop my solution based upon a site collection located on a development server, where all of my workflows, views, and event handler associations are already configured and stored in the content databases.
    2. Package up the custom files from the development server that are outside of the content databases including web forms, assemblies, scripts, control templates and custom controls, and deploy them to the production server to their respective location (including the GAC!)
    3. Next, backup the site collection on the development server using the STSADM.EXE tool, using the backup operation (-o backup), and restore it to the web application that is readily created on the production server using the same tool as well, using the restore operation (-o restore). The association of event handlers and custom fields to the entities on the site collection (sites or lists) will remain.
    4. If you are on a different domain (that has no relationship), you will need to login to the production server's central adminstration web site to re-specify the site collection administrator to allow access to the new site collection.

    The bottom line is that I will leverage on STSADM.EXE backup/restore to handle all customization on the site collection, and manual movement of files to handle those that are outside of the site collection.

    The There could be better ways than this including creating WSPs or other installation packages, hence I stand corrected :D

View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management and deployment capabilities with this free SharePoint CD. Empower Your Processes with PowerShell 201Paul Robichaux delves deep into PowerShell how-tos in 3 informative lessons, each followed by live Q&A—all on your own computer! Register today! WinConnections, March 15-18, 2009 – Orlando, FLThe first 500 paid attendees receive SQL Server 2008 Standard Edition w/one CAL. Register by January 12 and receive a free night at the Hyatt Grand Cypress (with 3-night stay). Details (203) 268-3204 or 800-438-6720. New Release: Windows IT Pro Master CD13 years of content archives, fast answers with advanced search tools, and full access to WindowsITPro.com—order today!