Friday, 23 December 2016

How to deploy sandbox Solutions in SharePoint Online

I am writing this article about how to deploy sandbox solutions in SharePoint online. Sandboxed solutions will be hosted in the SharePoint user code solution worker process (SPUCWorkerProcess.exe) and run code that can only disturb or effect 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 server farm and there are multiple Site collection deployed, now we need to do some changes or developed something to the particular site collection, earlier we use to deploy farm Solution which was effecting entire farm.  But later developer has find the solution called Sandbox solution which we will work on 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 on setting (Gear box) 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 getting 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 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 issue is occurring we need to fix the same.


  • Now we can add webpart 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:

Thanks

No comments:

Post a Comment