SharePoint Online: How to deploy sandbox solutions
Sandboxed solutions will be hosted in the SharePoint user code solution worker process (SPUCWorkerProcess.exe) and run code that can only disturb or affect the site collection of the solution. Because sandboxed solutions don’t run in the IIS worker process, neither the IIS application pool nor the IIS server must restart. It means in case we have a server farm and there is multiple Site collection deployed, now we need to do some changes or develop something to the particular site collection, earlier we use to deploy farm Solution which was affecting the entire farm. But the later developer has found the solution called Sandbox solution which will work on a particular site collection.
So today we are deploying solution sandbox on SharePoint online step by step with screen shots:
- We need a Site collection to deploy sandbox solution in case if you have site collection login to the same or create new site collection
- Once we will be login to the site collection, click Settings (gear) on the right side of the screen.
- Once clicked site setting page, select site settings option from drop down option.
- Now select Solutions option from Web Designer and Galleries above highlighted the same.
- Once selected solutions options, we will getting solution wizard, here option called Upload Solutions will be available from solutions tab.
- Now select the Upload Solutions, we will get Add a document wizard. Here we need to upload solutions file.
- Once uploaded we need to activate the solutions here
- Once it will get activated we will be getting the page like below.
Note: Might be we will be getting error option, if sandbox Is having any issue or expired, we need to check details if the issue is occurring we need to fix the same.
- Now we can add web part which we have activated recently above.
Now to add web part of activated solutions, navigate any of site page and edit the page and click on Add a web part and select activated solution web part page.
- Now once added, we can get output page like below: