Add, Deploy, and Activate the SharePoint Solution Files with PowerShell

To install the SharePoint solution files for AgilePoint using the PowerShell command line tool, do the procedure in this topic.

Prerequisites

How to Start

  1. On the primary SharePoint front-end web server open the SharePoint Management command line tool.

Procedure

  1. On the primary SharePoint front-end web server, in the SharePoint Management command line tool, add the solution files to SharePoint:
    Add-SPSolution "[AgilePoint SharePoint Integration installation folder]\
            AgilePoint.SharePoint.Solutions.wsp”

    Example Path: C:\Program Files\AgilePoint\AgilePoint Integration for SharePoint

    This copies the .wsp file from the installation folder, and adds them to SharePoint's Central Administration repository. You can specify a different path in the command.

  2. On the primary SharePoint front-end web server, in the SharePoint Management command line tool, deploy the solution files to SharePoint.
    Install-SPSolution -WebApplication "[Web Application URL]"
         -GACDeployment -FullTrustBinDeployment -Identity 
         AgilePoint.SharePoint.Solutions.wsp

    Site Collection URL Example: http://mysharepoint:8080/sites/mysite

  3. On each SharePoint machine that is a front-end web server, in the SharePoint Management Shell, execute the following command:
    Install-SPApplicationContent
  4. On the primary SharePoint front-end web server, in the SharePoint Management command line tool, activate the features.
    Note:
    AgilePoint recommends you enable features with PowerShell, and not the SharePoint UI. For more information, refer to Why Do I Get an Access Denied Error when I Activate the Configuration List in SharePoint?

    AgilePoint Settings List:

    Enable-SPFeature -Url "[Site Collection URL]"  -Identity 
            d0441e54-f24c-4b0c-a0ba-bf5354f66add

    Work Center:

    Enable-SPFeature -Url "[Site Collection URL]"  -Identity 
            380d620e-e911-4fb8-99b6-33bb98bd191f

    AgilePoint Workflow Launcher:

    Enable-SPFeature -Url "[Site Collection URL]"  -Identity 
            aff6fc75-5b46-40e8-bad9-a37b86c9b8a0

    Site Collection URL Example: http://mysharepoint:8080/sites/mysite