How to Deploy and Activate Sandboxed Solutions in SharePoint 2010
Sandboxed solutions brings the benefit of deploying solutions to SharePoint Server without affecting any other process outside the sandbox. SharePoint 2010 Sandboxed solution can be deployed by Site collection administrators. Here is the guide on How to Deploy and activate sandboxed solution in SharePoint 2010.
Go to Site Actions >> Site Settings >> Solutions under the Galleries

In Solutions tab, click Upload Solution button

Browse and select the WSP File from your sandboxed solution, click on "OK" to complete.
The solution package is now in the site collection's solution gallery, but it is not yet deployed. In the Activate Solution dialog box, click Activate to activate the solution
You will see the solution's activation status in the solution Gallery page.
Depending on the solution, will see the sandboxed solution in action.
From the solution gallery page, we can deactivate, delete the solution further.
To activate the Sandboxed solution use: Install-SPUserSolution cmdlet
To Uninstall the Sandboxed solution:
To Remove the Sandboxed solution:
Go to Site Actions >> Site Settings >> Solutions under the Galleries

In Solutions tab, click Upload Solution button

Browse and select the WSP File from your sandboxed solution, click on "OK" to complete.

You will see the solution's activation status in the solution Gallery page.
Depending on the solution, will see the sandboxed solution in action.
From the solution gallery page, we can deactivate, delete the solution further.
Using PowerShell to Deploy and Activate Sandboxed Solutions:
To upload a sandboxed solution to a site collection's Solution Gallery with PowerShell,Add-SPUserSolution -LiteralPath d:\PrintListPackage.wsp -Site http://sharepoint.crescent.com/sites/dev
To activate the Sandboxed solution use: Install-SPUserSolution cmdlet
Install-SPUserSolution -Identity PrintListPackage.wsp -Site http://sharepoint.crescent.com/sites/dev
To Uninstall the Sandboxed solution:
Uninstall-SPUserSolution -Identity PrintListPackage.wsp -Site http://sharepoint.crescent.com/sites/dev
To Remove the Sandboxed solution:
Remove-SPUserSolution -Identity PrintListPackage.wsp -Site http://sharepoint.crescent.com/sites/dev
No comments:
Please Login and comment to get your questions answered!