Add, Deploy, and Activate the SharePoint Solution Files using PowerShell
To install the solution files for AgilePoint BPMS using the PowerShell command line tool, do the following.
Prerequisites
- This topic is required for manual SharePoint Integration installation only. If you installed SharePoint Integration automatically, you can skip this topic.
- PowerShell is installed on the appropriate SharePoint machines.
- Log on to the SharePoint machine using a user account that belongs to the local system's Administrators group.
Instructions
- On the primary SharePoint front-end web server, in the PowerShell command line tool, add the solution files to SharePoint.
Add-SPSolution "[AgilePoint SharePoint Integration installation folder]\Ascentn.SharePoint.SettingsList.wsp" Add-SPSolution "[AgilePoint SharePoint Integration installation folder]\Ascentn.SharePoint.WebParts.wsp" Add-SPSolution "[AgilePoint SharePoint Integration installation folder]\Ascentn.SharePoint.WFIntegration.wsp" Add-SPSolution "[AgilePoint SharePoint Integration installation folder]\Ascentn.SharePoint.ListForm.wsp"
- Example Path: C:\Program Files\AgilePoint\AgilePoint Integration for SharePointThis 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.
- 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.SharePoint Integration for AgilePoint:
Install-SPSolution -WebApplication "[Site Collection URL]" -GACDeployment -FullTrustBinDeployment -Identity Ascentn.SharePoint.SettingsList.wsp -CompatibilityLevel All Install-SPSolution –WebApplication "[Site Collection URL]" -GACDeployment -FullTrustBinDeployment -Identity Ascentn.SharePoint.WebParts.wsp -CompatibilityLevel All Install-SPSolution –WebApplication "[Site Collection URL]" -GACDeployment -FullTrustBinDeployment -Identity Ascentn.SharePoint.WFIntegration.wsp -CompatibilityLevel All Install-SPSolution –WebApplication "[Site Collection URL]" -GACDeployment -FullTrustBinDeployment -Identity Ascentn.SharePoint.ListForm.wsp -CompatibilityLevel All
Site Collection URL Example: http://mysharepoint:8080/sites/mysite - On each SharePoint machine that is a front-end web server, in the PowerShell command line tool, execute the following command:
Install-SPApplicationContent
- On the primary SharePoint front-end web server, , in the PowerShell command line tool, activate the features.
Enable-SPFeature -Url "[Site Collection URL]" -Identity AgilePointSettingsListFeature Enable-SPFeature -Url "[Site Collection URL]" -Identity AgilePointWebParts Enable-SPFeature -Url "[Site Collection URL]" -Identity AgilePointWFIntegration Enable-SPFeature -Url "[Site Collection URL]" -Identity AgilePointListForm
Site Collection URL Example: http://mysharepoint:8080/sites/mysite