A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way

learn more… | top users | synonyms (1)

0
votes
1answer
500 views

Localize a sandboxed visual webpart

I am trying to localize a sandboxed visual webpart (part of the SP2010 development powertools released by MS), but as soon as I add <%$Resources:RESXFILE,RESOURCEKEY%> to for instance a ...
2
votes
3answers
2k views

Sandbox Content Type and Resource (RESX) File

I have a simple Sandbox Solution with a Content Type in it. The Content Type simply inherits from the Item content type. It adds no additional fields to it. I've added a Feature Resource file to my ...
3
votes
2answers
353 views

Sandbox solution deploys , leaves xsl file in a checked out state

I have a sandbox solution that deploys an xsl file to the styles library. The solution is scoped to the web and what happens is when the solution is deployed, the xsl file is stilled checked. Now I ...
0
votes
3answers
3k views

Register and run javascript on load in a sandboxed webpart

Got a placed called 'SiteAssets/test.js' with the function test(). I've created a nonvisual webpart, would like the script via the cs file and then run the function during the loading of the webpart. ...
2
votes
2answers
2k views

Adding SPUsers to SPGroups programmatically changes User ID

In a SharePoint Online (Office 365) environment we created a Sandboxed WebPart to put SPUsers in SPGroups. The SPGroup is created on rootlevel and has been given permissions on a subsite. This Subsite ...
3
votes
2answers
2k views

How do I deploy custom list edit forms in the sandbox?

I'm creating a List Definition for use on 2007, 2010 (Sandboxed), and 2010 (unrestricted) that will need custom new and edit forms; unfortunately the Sandbox specifically excludes custom application ...
1
vote
1answer
535 views

crmlistcomponent won't activate with Service Pack 1

I recently had the task of standing up a new SharePoint 2010 Foundation server to use with the Microsoft Dynamics CRM 2011 List Component. I stood up the server, installed SharePoint Foundation and ...
5
votes
1answer
112 views

SharePoint library, targeting both sandboxed and farm solutions?

I'm planning to build a shared librarie toolbox for my customer. The idea is to factorize reusable code in a single utility framework. Some of the classes can run on Sandboxed solution, other ...
3
votes
1answer
396 views

Creating a custom Filter Webpart in SandBox? How-To?

Since a little while now I've been trying to create a custom filter webpart in Sandbox. So far, it seems that all the usual ways to create a custom filter webpart programatically ina farm solution are ...
2
votes
1answer
584 views

How to find the localized name of the Web Part Gallery

I have learned (still a SP-Noob...) that I have to take care of removing webParts that I deployed as part fo a solution myself. Now I have coded something like string file = "MyWebPart.webpart"; ...
2
votes
1answer
946 views

Add choice to SPFieldChoice from an Eventreceiver in sandboxed

I am trying to make a sandboxed solution that adds a couple of itemeventreceivers to a list, that add the items to the choices of a choicefield. The result would be something like a lookup field, ...
0
votes
1answer
264 views

How to remove xap file on uninstallation of sandboxed solution

I have built a simple Silverlight control and a WebPart to go with it. This is my first SharePoint project and I was very confused most of the time (I.e. I am a Sharepoint noob) :-) The Silverlight ...
1
vote
3answers
822 views

Debugging feature activation in SharePoint Online

I'm working on a sandboxed solution which consists of two features. Locally, I've developed and tested my solution. On my development machine, I can properly deploy my solution to the sandbox, ...
2
votes
1answer
208 views

Sandbox + Custom Site Page Template + SPFile.CustomizedPageStatus

Have created a Site Page Template and provisioned an instance into my Team Site's Wiki Library. <Module Name="CustomInFeature" Path="SitePageTemplates" List="119" Url="SitePages" > ...
3
votes
1answer
846 views

~site / ~siteCollection token replacement with sandboxed solutions

It seems you cannot use the ~site or ~siteCollection tokens in an Element.xml when you deploy as a Sandboxed Solution. Has anyone ever seen this behaviour? Code snippet: ...
1
vote
1answer
603 views

Create Subsite Time out

I am trying to create a custom workflow activity to create a subsite as a sandboxed solution. I know the site creation works, but the workflow throws a time out error (the site creation finishes after ...
0
votes
1answer
176 views

Right Management

I'm planing a sharepoint application. One part of the solution should be a list. Each list item should have two persons who are allowed to make changes on it (plus two Administratorgroups). The ...
3
votes
1answer
662 views

Sandbox Web Part without Site Collection Administrator permissions?

Is there a way to get a Sandboxed Web Part deployed without Site Collection Administrator permissions? Here is the situation: I have Full Control permissions of the Site Collection's Root Web, ...
4
votes
2answers
1k views

Sandbox Webpart Web Requests: System.Security.SecurityException

I need a custom web part that aggregates list data across web applications. I would like to keep it sandboxed if at all possible. I first tried to use the out of the box SharePoint web services ...
3
votes
2answers
600 views

Add image to Ribbon Button in Sandbox

I've created a simple SharePoint ribbon tab with a button on it; the button XML looks like this: <Button Id="Ribbon.MyTab.MainGroup.HelloButton" ...
2
votes
1answer
196 views

Sandboxed solution; social tags?

I want to create a webpart to retrieve some of the social tags a user has used. This has to run in SharePoint Online ie a sandboxed solution. I have code which does the same, but already the first ...
2
votes
0answers
277 views

Handling upgrades for sandboxed solutions [closed]

I've been messing around with sandboxed solutions in SharePoint Online for a bit now. I have a few concerns about development, and especially maintenance. In on premise environments I was used to ...
1
vote
1answer
105 views

Input Rich HTML in a Sandboxed Visual Web Part

I'm trying to build a styled web part for adding list items to a list, and I cannot for the life of me find a good control for adding a Rich HTML editor. Has anyone come across this before?
1
vote
1answer
646 views

Define subsites in webtemplate

Is it possible to define a subsite in a webtemplate? I can't use a site definition because I'm working in Office 365 - SharePoint Online. Wrong approach: I thought about activating a site-feature in ...
5
votes
3answers
1k views

How do I find out what's wrong with my sandboxed solution in SharePoint Online?

I have created a custom web part which presents a form to create a SharePoint site below the current site, while performing some ancillary actions like updating a list of subsites on the front page to ...
4
votes
2answers
805 views

SharePoint 2010 Sandbox Solution - Cookies support

In SharePoint 2010 Sandbox solution, whether cookie is supported? When I'm trying to set cookie by HttpCookie myCookie = new HttpCookie("Test","Hello"); ...
3
votes
1answer
829 views

Can site columns be deployed in sandboxed solutions?

I have created a package in Visual Studio 2010 for SharePoint 2010 which contains a single feature, called "SiteColumns", which link to a single elements file defining a single site column. I have ...
1
vote
1answer
309 views

Server side event for button in sandbox solution

i am developing one sandbox solution. i have one .aspx page in my solution, there i need to create one button and need to write server-side event for that button. But i couldn't do it. getting error ...
2
votes
1answer
2k views

Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed (but no implementation at all)

I realize of course that there is another question with the same title, and mine is a very similar question, but with a slightly different issue, I think: I have created an empty feature with an ...
6
votes
2answers
1k views

Object cache in sandbox solutions

I am building a SharePoint sandbox solution which consists of multiple web parts. I want to be able to somehow cache POCO objects (Plain Old CLR Objects) in such a way that the cache is persisted ...
2
votes
2answers
2k views

Enable feature of SharePoint sandbox solution

I have a .wsp file that is deployed to the remote server by powershell script. The solution is deployed successfully and I can see the solution feature in the site collection features, I can activate ...
1
vote
2answers
663 views

How to refresh a Sandboxed web part after leaving Edit Display Mode?

I have a test SP page hosting a Sandbox WebPart, code only. The WebPart in turn contains a GridView. I'd like to refresh the WebPart (actually, to fire the GridView-ObjectContainerDataSource ...
9
votes
3answers
2k views

How to localize webpart title, description, group, quickadd group in Sandbox solution

I've seen other similar questions (like this one), checked Microsoft documentation (like all the ones stemming from and related to the page Localization of Sandboxed Solutions in SharePoint 2010), ...
5
votes
1answer
1k views

Send email via code in Office365

I am developing a custom web part in an Office 365 environment. I am trying to send email to a user during the execution of the code in the web part. I have tried two alternatives: ...
2
votes
1answer
228 views

Asynchronously load a Sandboxed Web Part

I'm wondering if there is an way to load custom Sandboxed Web Parts asynchronously. I have done this earlier with ScriptManager, I understand that this not possible with Sandboxed solutions. And these ...
2
votes
1answer
1k views

VS Power Tools for SharePoint - InitializeControl does not exist in the current context

I don't think this qualifies as a 3rd party product, so I'm posting here. I have a clean VM with VS2010 SP1 installed. I then installed the VS Power Tools for SharePoint. I'm attempting to create a ...
2
votes
0answers
264 views

How to customize Feature image for a SharePoint 2010 Sandbox solution? [duplicate]

Possible Duplicate: Own Feature-Icon in Sandbox Solutions Ok, as usual, after searching for a solution on the rest of the net, here I am on StackExchange :) How can I stuff a PNG image in ...
4
votes
1answer
137 views

Can WSPBuilder be used with Sandbox Solutions?

Does anyone know if you can use WSPBuilder to create Sandbox Solutions for SharePoint 2010?
1
vote
1answer
366 views

Can't deactivate a user solution without breaking the site

[Edit] Rewrote the question, as there are simpler ways to reproduce the problem. [/Edit] I have built a reusable workflow with SharePoint Designer 2010. I saved the workflow as template, grab the ...
1
vote
1answer
981 views

How do I send an email from a sandboxed workflow action?

I have been tasked with creating a SharePoint 2010 sandboxed workflow that essentially scans a custom list and sends emails to specific users when certain conditions for a given list item are true. ...
1
vote
1answer
1k views

Safe to convert a Sandbox Web Part solution to a Farm solution?

We've run into the Sandbox solution error (Web Part Error: The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request.). So we want to ...
1
vote
0answers
684 views

Deploying InfoPath 2010 browser enabled forms as Sandbox solutions using WSP

Is there a way through which I can deploy a InfoPath browser enabled form with code behind as a Sandbox solution via WSP? I tried something around the approach we used to follow for deploying ...
1
vote
1answer
167 views

spdatasource control in sandboxed solution?

I was surprised to not found the SPDataSource control in sandboxed solution (I simply want to populate a drop down list). Did I missed something, or is this actually one the limitation of the ...
1
vote
0answers
378 views

troubles with a custom SPD activity in sandboxed solution

I want to build a custom activity for SPD 2010 that can extract the full url of a workflow task. I did not found something like this OOB. Did I missed something ? I wrote the following code : ...
6
votes
1answer
393 views

Compressing Files in a Document Library with Server-side Code

Anyone know of a way, that within the context of server-side code (like in the callback of a WebPart) to compress a set of given files in a document library, placing the resulting compressed file back ...
3
votes
3answers
933 views

Is it possible to create a Multi-lingual List Definition in a SandBox

I have a sandbox solution that for the some of it I have german translations for, like the feature name and description. However to make this a proper multi-lingual solution I need to do the same for ...
0
votes
1answer
138 views

Download solution package? [closed]

I was reading this article by Vesu http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx#stepbystep and at the end of article he posted the solution file. But my ...
2
votes
3answers
3k views

Can I activate the Sharepoint Server publishing Infrastructure feature at the site collection level within a sandbox solution?

I have this code which works in a farm solution, but not in a sandbox solution. Is it possible to do this with a sandbox solution? The table in this link ...
3
votes
1answer
350 views

Does Create Content Type need to be a farm solution?

I've found a couple of examples of creating a content type using visual studio. http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html ...
1
vote
2answers
1k views

Problem adding sharepoint sandboxed solution using powershell

I have powershell script which will create the WebApplication and SiteCollection and upload the solution. Creation of WebApplication and SiteCollection for user X works fine but Add-SpUserSolution is ...