Add, Deploy, and Activate the AgileForms SharePoint Solution Files using PowerShell

To install the solution files for AgileForms SharePoint Integration using the PowerShell command line tool, do the following.

Prerequisites

Navigation

  1. Open the PowerShell command line tool.

    For SharePoint 2013, the default location is Start > Microsoft SharePoint 2013 Products > SharePoint 2013 Management Shell.

Instructions

  1. On the primary SharePoint front-end web server, in the PowerShell command line tool, add the solution files to SharePoint.

    SharePoint Integration for AgilePoint:

    Add-SPSolution "[AgileForms SharePoint Integration 
            installation folder]\AgilePoint.AgileForms.WebParts.wsp"

    This copies the wsp files from the installation folder (The default location is [AgilePoint installation folder]\AgilePoint Integration for SharePoint.), 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 PowerShell command line tool, deploy the solution files to SharePoint.
    Note: The command -CompatibilityLevel All applies only to SharePoint 2013 and later. Omit this command if you are using an earlier version of SharePoint.
    Install-SPSolution -WebApplication "[Site Collection URL]" -GACDeployment 
            -FullTrustBinDeployment -Identity AgilePoint.AgileForms.WebParts.wsp 
            -CompatibilityLevel All

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

  3. On each SharePoint machine that is a front-end web server, in the PowerShell command line tool, execute the following command:
    Install-SPApplicationContent
  4. On the primary SharePoint front-end web server, , in the PowerShell command line tool, activate the features.
    Enable-SPFeature -Url "[Site Collection URL]" -Identity AgileFormsWebParts

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