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
- 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.
- AgilePoint NX OnPremises or AgilePoint NX Private Cloud is installed.
- SharePoint Integration in an on-premises environment.
- Log on to the SharePoint machine with a user account that belongs to the Farm Administrators group.
How to Start
- On the primary SharePoint front-end web server open the SharePoint Management command line tool.
Procedure
- 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.
- 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.wspSite Collection URL Example: http://mysharepoint:8080/sites/mysite
- On each SharePoint machine that is a front-end web server,
in the SharePoint Management Shell,
execute the following command:
Install-SPApplicationContent - 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-bf5354f66addWork Center:
Enable-SPFeature -Url "[Site Collection URL]" -Identity 380d620e-e911-4fb8-99b6-33bb98bd191fAgilePoint Workflow Launcher:
Enable-SPFeature -Url "[Site Collection URL]" -Identity aff6fc75-5b46-40e8-bad9-a37b86c9b8a0Site Collection URL Example: http://mysharepoint:8080/sites/mysite