locked
How To Install A Web Part? RRS feed

  • Question

  • Hi all,

    What is the non-techie standard admin way to install a web part in Sharepoint 2010?
    Are there any step by step guides?

    I use a single simple web part file "Bamboo.SP2010.HelloWebPart.wsp" and have tried the following:

    1. I have tried to install one through the solutions as a sandboxed solution but was unable to activate the solution even though I am logged in as admin

    2. I used stsadm -o addsolution etc. through Sharepoint Powershell but cannot see the web part appear anywhere in de web admin

    Anyway, I'm really curious what the standard user-friendly way is to install web parts.

    Much obliged,

    Vladja_
    Tuesday, January 5, 2010 10:24 AM

Answers

  • Hi,

     

    I am writing here very easy steps to add the webpart solution(.wsp) or install a web part in Sharepoint 2010.

    Step 1: start >Programs >Microsoft sharepoint 2010 products > sharepoint 2010 management shell

    run as Administrator a command prompt will shown.

    type the following command    Add-SPSolution  <Full path of the Bamboo.SP2010.HelloWebPart.wsp >

    Step 2: Deploy Solution to Web Application(s)

    1. Open SharePoint 2010 Central Administration from the Start menu under Microsoft SharePoint 2010 Products .
    2. Click on the System Settings menu item in SharePoint 2010 Central Administration.
    3. Click on the Manage Farm Solutions link.
    4. Click on Bamboo.SP2010.HelloWebPart.wsp .
    5. Click on the Deploy Solution link.
    6. Select the Now option under Choose when to deploy the solution: .
    7. Select which web application you would like to deploy the solution under Choose a web application to deploy this solution: .
    8. Click OK .

    step 3: Activate solution for webapplication 

    Load the Site Collection Features administration page for the site collection hosted in the web application that the solution was deployed to in Step 2.

    Locate the row titled Bamboo.SP2010.HelloWebPart and click on the Activate button next to it.

    Now your webpart ready to use in your web Application

     

    warm regard

    JNIKHIL


    Jnikhil
    • Proposed as answer by TheBinki Tuesday, March 15, 2011 6:57 PM
    • Marked as answer by Margriet Bruggeman Monday, April 9, 2012 1:09 PM
    Monday, February 14, 2011 11:03 AM
  • Hey Vladja_

    The ideal administrative experience is still to use Powershell (R.I.P. STSADM) to deploy solutions.  However, solution deployment is only the first step; this simply gets the files onto the server.  In 2010, each deployable artifact (for example, a web part) is wraped in a feature that you install and activate to the farm/web app/site collection/site (depending on the scope of the feature) through the command line as well.

    It really is the same paradigm as 2007.  So the next step for you is to install and then activate the feature.  The web part should then be available.

    Also, as Bamboo is a third party control company, I'd be surprised if they didn't have an MSI or something that automates this whole process...


    Have Fun! DOMINO http://chrisdomino.com
    Tuesday, January 5, 2010 4:01 PM

All replies

  • Hey Vladja_

    The ideal administrative experience is still to use Powershell (R.I.P. STSADM) to deploy solutions.  However, solution deployment is only the first step; this simply gets the files onto the server.  In 2010, each deployable artifact (for example, a web part) is wraped in a feature that you install and activate to the farm/web app/site collection/site (depending on the scope of the feature) through the command line as well.

    It really is the same paradigm as 2007.  So the next step for you is to install and then activate the feature.  The web part should then be available.

    Also, as Bamboo is a third party control company, I'd be surprised if they didn't have an MSI or something that automates this whole process...


    Have Fun! DOMINO http://chrisdomino.com
    Tuesday, January 5, 2010 4:01 PM
  • Hi Vladja_

    One of the method for adding Web Part to Sharepoint.
    • Install assembly to the GAC
    • Add to Safe Controls in Sharepoint's web.config
    • Upload .dpw file into Sharepoint
    • Restart IIS

    Thanks
    Http://codeintellects.com
    Saturday, January 9, 2010 8:20 AM
  • Using Visual Stuido 2010 to add SafeControl of Web part in site which you want to add.  Then, you login site, edit site and insert web part.

    Good luck.


    SharePoint community in Vietnam: http://sharepointvn.net- Mail: nguyenthuan@ict24h.net - Contact me if you want to consult SharePoint 2010..
    Friday, November 26, 2010 6:08 AM
  • Hi,

     

    I am writing here very easy steps to add the webpart solution(.wsp) or install a web part in Sharepoint 2010.

    Step 1: start >Programs >Microsoft sharepoint 2010 products > sharepoint 2010 management shell

    run as Administrator a command prompt will shown.

    type the following command    Add-SPSolution  <Full path of the Bamboo.SP2010.HelloWebPart.wsp >

    Step 2: Deploy Solution to Web Application(s)

    1. Open SharePoint 2010 Central Administration from the Start menu under Microsoft SharePoint 2010 Products .
    2. Click on the System Settings menu item in SharePoint 2010 Central Administration.
    3. Click on the Manage Farm Solutions link.
    4. Click on Bamboo.SP2010.HelloWebPart.wsp .
    5. Click on the Deploy Solution link.
    6. Select the Now option under Choose when to deploy the solution: .
    7. Select which web application you would like to deploy the solution under Choose a web application to deploy this solution: .
    8. Click OK .

    step 3: Activate solution for webapplication 

    Load the Site Collection Features administration page for the site collection hosted in the web application that the solution was deployed to in Step 2.

    Locate the row titled Bamboo.SP2010.HelloWebPart and click on the Activate button next to it.

    Now your webpart ready to use in your web Application

     

    warm regard

    JNIKHIL


    Jnikhil
    • Proposed as answer by TheBinki Tuesday, March 15, 2011 6:57 PM
    • Marked as answer by Margriet Bruggeman Monday, April 9, 2012 1:09 PM
    Monday, February 14, 2011 11:03 AM
  • Following Jnikhil's approach worked perfectly for me, a neophyte learning SharePoint 2010.  Thank you.
    Tuesday, March 15, 2011 6:58 PM
  • Why if I go trough the steps and the deploy was successfull the webpart is not listed into the Site Collection Features?, I'm having troubles with this,  the deploy is completly successfull, but the webpart is hidden into the features list.

    Mybe some configuration in the build?, or sometihing like that?

    Thanks 

    Tuesday, April 5, 2011 10:44 PM
  • Sorry I miss me in 3rt step please help me

     

    Where is this menu

    Monday, May 30, 2011 4:55 PM
  • Hello Nikhil,

     I was able to deploy the webpart I had created. The only thing that is missing is how do I perform the Step 3 you have listed. When you say "Load the Site Collection Features administration page" is it the central administration page or some other page? Would really appreciate your help on this.

     

    Thanks

    Mani

     

    Monday, June 6, 2011 9:24 PM
  • on the site itself, go to site settings (as the farm admin) and it is under site collection administration called site collection features
    Monday, September 12, 2011 10:53 AM