Working with SharePoint Web Parts

In an environment with Microsoft SharePoint you can install, deploy and configure EmpowerID SharePoint Web Parts to make SharePoint Site and SharePoint Group management functions available to a SharePoint Web Part page.

This topic describes how to work with SharePoint Web parts in EmpowerID and is divided into the following activities:

You must configure EmpowerID as a claims-based authentication provider for your SharePoint farm and convert an existing SharePoint site collection from Windows Authentication to Claims-based authentication before performing the following steps. Please see Federating SharePoint With EmpowerID for instructions.

To install EmpowerID Web Parts for SharePoint

  1. Unzip EmpowerID2013-WebParts.zip and place the WebParts.wsp file into the root of C:\ on your SharePoint server.
  2. Open the SharePoint 2010 Management Shell and execute the below command.
  3. add-spsolution C:\WebParts.wsp
  4. Open SharePoint Central Administration and click System Settings.
  5. Underneath the Farm Management section, click Manage Farm Solutions.
  6. On the Solution Management page, click webparts.wsp.
  7. On the Solution Properties page, click Deploy Solution.
  8. On the Deploy Solution page, under Deploy When?, click to select Now. Under Deploy To?, choose your desired SharePoint Web application and click OK.
  9. The Solution Management page will display, indicating the status of the solution and the SharePoint web application to which it was deployed.

To activate EmpowerID Web Parts as a Site Collection Feature

  1. Navigate to the SharePoint site collection, click Site Actions and then click Site Settings.
  2. Underneath the Site Collection Administration section, click Site collection features.
  3. Scroll through the list of Features and click the Activate button for EmpowerID Web Parts.
  4. The EmpowerID Web Parts are now Activated for your chosen Site Collection.

To deploy EmpowerID Web Parts to a SharePoint site

  1. Navigate to the SharePoint site collection, click Site Actions and then click More Options.
  2. If you have Microsoft Silverlight installed, on the Create Page click Web Part Page and then click the Create button. If you do not have Microsoft Silverlight installed, on the Create Page under the Pages and Sites section, click the Web Part Page link.
  3. (with Microsoft Silverlight)

    (without Microsoft Silverlight)

  4. On the New Web Part Page under the Name section, type in a name for the Web Part page. Under Choose a Layout Template, click Full Page, Vertical. Choose a target Document Library and click Create.
  5. Click Add a Web Part. Under Categories, click empowerID. Under Web Parts, click Find SharePoint Sites or SharePoint Site Group Administration or Site Members and then click Add.
  6. Click the down arrow at the top right of the EmpowerID Web Part, then click Edit Web Part.
  7. Under the Appearance section, adjust the Height value as needed and click OK. The Height value controls how tall the EmpowerID Web Part will appear on the page.
  8. Click the Page ribbon > Stop Editing and confirm the selected EmpowerID Web Part appears on the Web Part Page.
  9. You can only place one EmpowerID Web Part on a SharePoint Web Part Page. You will need to create an additional SharePoint Web Part Page for each EmpowerID Web Part.

To uninstall the EmpowerID Web Parts for SharePoint

  1. Navigate to the SharePoint site collection, click dSite Actions and then click View All Site Content.
  2. Choose the desired Document Library. Choose the SharePoint Web Part page that contains an EmpowerID Web Part. Click Site Actions and then click Edit Page.
  3. Click the edit panel of the EmpowerID Web Part and then click Delete.
  4. Repeat steps 1-4 for each EmpowerID Web Part you have added to your SharePoint Web Part pages.
  5. Navigate to the SharePoint site collection, click Site Actions and then click Site Settings.
  6. Underneath the Site Collection Administration section, click Site collection features.
  7. Scroll through the list of Features and click the Deactivate button for EmpowerID Web Parts.
  8. The EmpowerID Web Parts are now Deactivated for your chosen Site Collection.

  9. Open SharePoint Central Administration and click System Settings.
  10. Underneath the Farm Management section, click Manage Farm Solutions.
  11. On the Solution Management page, click webparts.wsp.
  12. On the Solution Properties page, click Retract Solution.
  13. On the Retract Solution page, under "Choose when to deploy the solution", click Now. Under "Choose a Web application to retract this solution:", choose your desired SharePoint Web application and click OK.
  14. The Solution Management page displays to indicate the status of the solution and the SharePoint web application from which it was retracted.
  15. Open the SharePoint 2010 Management Shell and execute the below command.
  16. remove-spsolution -identity WebParts.wsp -confirm:$false
  17. The EmpowerID Web Parts have now been completely removed from your SharePoint farm.