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)

2
votes
1answer
610 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"; ...
0
votes
1answer
272 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 ...
2
votes
1answer
1k 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, ...
1
vote
3answers
857 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, ...
0
votes
2answers
928 views

SharePoint sandboxed visual web part not loading on a button click event in BPOS D environment

I have a web part with around 700+ controls (text boxes and text areas). There are two buttons Save and Submit. Save and Submit will save the data from the list to the associated lists using CAML ...
0
votes
1answer
2k views

Add HTML link tag with dynamic SRC attribute to masterpage HEAD section

I need to add a <link> tag with a dynamic src attribute to a custom masterpage <head> section pointing to a current SPWeb library like this: <link rel="alternate" ...
3
votes
1answer
910 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: ...
0
votes
1answer
184 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 ...
1
vote
1answer
660 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 ...
7
votes
5answers
2k views

Add jQuery in Sandbox mode (Office 365)

What would be the best approach in using/including jQuery in Office 365? Should I just use google CDN or is it possible to deploy the jQuery file to the server? Is there any good articles/resources ...
0
votes
2answers
1k views

Multiple spucworkerprocessproxy.exe

Why multiple spucworkerprocessproxy.exe processes shows up when I even have one sandboxed solution deployed? Sharepoint 2010 User Code Host Service kills all spucworkerprocessproxy processes, when ...
1
vote
1answer
591 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 ...
2
votes
1answer
214 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" > ...
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 ...
2
votes
0answers
323 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 ...
5
votes
3answers
672 views

How to create a sandboxed workflow action within Microsoft SharePoint Online 365

I have followed the steps on http://msdn.microsoft.com/en-us/library/ff798499.aspx in order to create a custom sandboxed workflow action, and have deployed this into a site workflow in Microsoft ...
2
votes
1answer
200 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 ...
1
vote
1answer
108 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?
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 ...
1
vote
1answer
685 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 ...
3
votes
2answers
634 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
2answers
385 views

Debug custom sandbox workflow action [closed]

How to debug the custom sandbox workflow actions in VS2010? The sandbox workflow actions created following the steps in http://msdn.microsoft.com/en-us/library/ff798499.aspx
4
votes
2answers
842 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"); ...
1
vote
2answers
2k views

How do I deploy custom web part to Sharepoint Online Site Collection?

After uploading the wsp to the site collection using the browser and activating it, everything seems to work fine and i see all the page layouts, masterpage, content types, lists and webparts. BUT, ...
2
votes
1answer
234 views

Attach file to list in Sandbox Webpart

I am trying to create a custom control for updating a List on a Sharepoint site that only allows Sandbox Solutions to be added. I've read a few threads on uploading attachments, but they all seem to ...
2
votes
3answers
596 views

Do Sandboxing solutions support PortalSiteMapProvider?

According to these two articles, Sandboxing supports 'Navigation'-- http://www.sharepointusecases.com/index.php/2010/03/introduction-to-sharepoint-2010-sandbox-solutions-for-site-collection-owners/ ...
3
votes
1answer
704 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, ...
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 ...
3
votes
1answer
869 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 ...
2
votes
1answer
3k 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 ...
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
689 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 ...
0
votes
1answer
381 views

SPMetal Person column generation

I'm using SPMetal to generate a class for my lists to use in a Sandbox-solution (with Sandbox Visual WebParts). However, when I generate the classes for a list column of type "Person or Group" with ...
2
votes
2answers
253 views

ServiceLocator in Sandbox: is anyone experiencing RemotingExceptions?

I posted an issue on SP Guidance tracker after quite some searching, but I saw several unanswered issues there so I'm trying here as well. I think I have a very simple Proof Of Concept: a Sandbox ...
2
votes
1answer
1k views

Custom file upload in sandbox

I have a custom web part in a sandbox solution. Inside of the web part I have added an <input type="file" />. Upon postback I read the file using HttpContext.Current.Request.Files and save the ...
1
vote
1answer
318 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 ...
4
votes
1answer
489 views

Use Visual Studio 2010 To Create SandBoxed Site with Content

I have a site that was built with the UI: It has a lot of custom .aspx pages with webparts and there are custom site columns, content types, and even a document library with several support files. My ...
5
votes
1answer
2k 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
235 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 ...
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
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 ...
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), ...
4
votes
1answer
138 views

Can WSPBuilder be used with Sandbox Solutions?

Does anyone know if you can use WSPBuilder to create Sandbox Solutions for SharePoint 2010?
3
votes
3answers
649 views

Sandboxed Solution - SPWeb Property Bag

I'm trying to create an SP2010 Sandboxed solution which involves a site collection administrator storing a piece of information in the Site collection root web property bag. I can't think of a way I ...
1
vote
1answer
1k 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
2k 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
1answer
393 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 ...
4
votes
4answers
919 views

Error while adding Sandbox WebPart

I created a simple "Hello World" sandbox webpart in VS.NET 2010. After uploading the .wsp file to SharePoint site, I activated the webpart. But while trying to add it to a page, I was getting this ...
1
vote
1answer
170 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 ...