• Webpart Development part 2: Deployment

    by  • March 24, 2010 • MOSS 2007 • 3 Comments

    In Part 1 of this article, we discussed how to create a simple Web part and how to bind it as WSP package.

    In this article we will see how to deploy the packaged so that you can use it in any of your sites.

    1. Copy the WSP to your SharePoint server
    2. Open command prompt and navigate to the folder Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
    3. run  stsadm -o addsolution -filename “G:\Hello_World.wsp”
    4. Open central administration -> click operations
    5. Click Solutions under Global configurations
    6. Locate the newly added web part (hello_wold.wsp) and click to open its solution solution property page.
    7. Click solution deploy link and click OK in the resulting page.
    8. Open site collection
    9. Go to site actions -> site settings -> and click web parts under gallery
    10. Click New
    11. Choose our new web part in new web parts gallery and Populate

     In the coming articles we will see how to add user controls to web part.

    About

    Hojo Clement was working in US Technology in Trivandrum as a Senior Software Engineer. He has 6 years experience in working with Web Development Technologies inlcuding MOSS and ASP.net.

    3 Responses to Webpart Development part 2: Deployment

    1. Pingback: Webpart Development part 3: Adding controls to web part

    2. Pingback: Creating Custom Web Part Properties

    3. DanO-M
      August 25, 2010 at 2:34 pm

      Hi,
      Slow progress here. Regarding the instructions above…step 8….which ‘site collection’ where? I’ve followed all the previous steps but get to this step 8 and am lost…..are we still in Central Admin on the WSS/MOSS box here?

    Leave a Reply

    Your email address will not be published. Required fields are marked *