by Christian Fredh
3. January 2010 19:16
Sandbox Solutions for SharePoint 2010 are great news for SharePoint development. I think we will see a lot of great features without the need of doing farm deployments. But sandboxed solutions do have their limitations and not all project templates or SharePoint Project Items (SPI) are available for sandboxed solutions.
Below are lists of the templates installed with Visual Studio 2010 Beta 2 and the availability for sandboxed solutions.
Project Templates
| Name |
Available for sandboxed solutions |
| Empty SharePoint Project |
Yes. |
| Visual Web Part |
No. Visual Web Part template uses a user control (.ascx file) and must be deployed as a farm solution. |
| Sequential Workflow |
No. Programmatic workflows are not available for sandboxed solutions. |
| State Machine Workflow |
No. Programmatic workflows are not available for sandboxed solutions. |
| Business Data Connectivity Model |
No. BDC models is deployed at farm level and are therefore not available. |
| Event Receiver |
Yes. |
| List Definition |
Yes. |
| Content Type |
Yes. |
| Module |
Yes. |
| Site Definition |
No. Site definitions is deployed at farm level and are not available. |
| Import Reusable Workflow |
No. Programmatic workflows are not available for sandboxed solutions. |
| Import SharePoint Solution Package |
Yes, if the items that is imported from the package are supported. |
SharePoint Project Items
| Name |
Available for sandboxed solutions |
| Visual Web Part |
No. Visual Web Part template uses a user control (.ascx file) and are not available for sandboxed solutions. |
| Web Part |
Yes. |
| Sequential Workflow |
No. Programmatic workflows are not available for sandboxed solutions. |
| State Machine Workflow |
No. Programmatic workflows are not available for sandboxed solutions. |
| Workflow Association Form |
No. Association forms includes .aspx files and are not available for sandboxed solutions. |
| Workflow Initiation Form |
No. Initiation forms includes .aspx files and are not available for sandboxed solutions. |
| Business Data Connectivity Model |
No. BDC models is deployed at farm level and are therefore not available. |
| Application Page |
No. Application pages includes .aspx files and are not available for sandboxed solutions. Nothing under the Layouts folder can be deployed in sandboxed solutions. |
| Event Receiver |
Yes. |
| Module |
Yes. |
| Content Type |
Yes. |
| List Definition From Content Type |
Yes. |
| List Definition |
Yes. |
| List Instance |
Yes. |
| Empty Element |
Yes. |
| User Control |
No. User controls includes .ascx files and are not available for sandboxed solutions. Nothing under the ControlTemplates folder can be deployed in sandboxed solutions. |
More information about sandboxed solutions: