Today I received my Office 365 account, so I thought it would be cool to check out if my sandbox web part, that I have created some time ago, is working on SharePoint Online.
Here is the link to the original blog post: Creating a Sandboxed Visual Web Part from the To-do List
If you are the lucky owner of an Office 365 Beta account, you can follow the next steps to make use of my To-Do list web part.
Steps to make use of the web part
The first step is to set the resource quota for your SharePoint Online site.
- Open the Office 365 admin site;
- Click on "Manage" under the SharePoint Online section;
- In the next window, click on "Manage site collections";
- Select the SharePoint Online site for which you want to set the resource quota;
- Click under the "Site Collections" tab on "Resource Usage Quota";
- In the resources textbox you can specify the number of resources for your site. I have used 200 in this example, if you are finished, click on save.
Deploying the sandboxed solution
When you set the number of resources for your site, you can upload the sandboxed solution to the site. Here is the download link for the solution: To-Do List Web Part Solution File
- Go to your SharePoint Online site;
- Open the "Site Actions" menu, and click on "Site Settings";
- Under the "Galleries" section, click on "Solutions";
- On the "Solutions" tab click "Upload Solution";
- When the solution is uploaded, you need to activate the solution by clicking on "Activate" in the modal dialog window.
Using the web part
When you have uploaded and activated the sandboxed solution, you can make use of the web part.
- Go to the page where you want to use the web part;
- Edit the page, and on the "Insert" tab, click "More Web Parts";
- In the "Filter By" select "E. Struyf", select the "To-do Web Part", and click "Add";
- Configure the web part and you are done.