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
2answers
2k views

SharePoint 2010 User Code Host service stops

When I try to deploy any SandBox Solution I receive following error: Error occurred in deployment step 'Retract Solution': Timeout occurred while running the SharePoint Sandboxed Code service. ...
2
votes
1answer
343 views

Add content type from sandboxed solution to list definition (farm solution) does not work

I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type. I want to add this content type to my document library definition in CAML. But when I ...
2
votes
0answers
353 views

Steps for troubleshooting Sandbox web part “An error occurred while attempting to add the item to the page”

I have a server which is refusing to run any Sandbox web parts with the error "An error occurred while attempting to add the item to the page" Steps already performed :- These web parts run fine on ...
2
votes
2answers
1k views

Custom Content Query Web Part in a Sandbox Solution

I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...
2
votes
0answers
370 views

Sandbox solutions - Prevent auto activation of site collection features

Question: Does anyone know a way to activate a sandbox solution in SharePoint Online without having the site collection features automatically activated? Background info: I have done a bit of ...
2
votes
0answers
99 views

Not able to activate solution in Records Center site

I provisioned a Records Center site and uploaded a custom sandboxed solution (WSP) to it. I am able to upload the solution, but not activate it. This is in a SharePoint Online environment, but I ...
2
votes
0answers
381 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 ...
2
votes
2answers
424 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
2
votes
1answer
242 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
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 ...
1
vote
5answers
1k views

Create complete site programmatically

I want to create a complete site in Visual Studio (Sandbox solution), so it is easy to deploy (with one press on the button on site collection level) to Office 365 / SharePoint Online. I can create ...
1
vote
2answers
361 views

Is it possible to, using an event receiver, change a filename before it is uploaded?

I was using a workflow to change file names to some text and the SP ID, but this has caused issues because the workflows can often take several minutes to complete. I would like to do this during ...
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 ...
1
vote
3answers
1k views

Getting SPD workflows to run on a daily basis

I have a workflow that I need to run on a daily basis. It's going to run in a web application hosted in Sharepoint Online, so there is no access to Central Administration. Which means the timer jobs ...
1
vote
3answers
619 views

Copy document from one site to another..?

,I need to build something (using a sandboxed solution?) to demonstrate that SharePoint has the ability for users to copy a document (with its attributes) from a doc library in one site to a doc ...
1
vote
1answer
86 views

Sandbox Web Services

I've been tasked to create a solution that deploys to both SharePoint 2010 and 2013 without the need to "rewrite" what was written for SharePoint 2010 (default deployment path). Now, as I'm a ...
1
vote
1answer
2k views

SandBox Solutions Deployment of WSP to Solution Gallery : Beginner Questions

I am a beginner to SP Dev, and I have been reading a few things about Sandbox Solutions and the limitations there. Also it seems that to deploy a solution, I can simply upload a wsp to the solution ...
1
vote
2answers
1k views

Adding button to ribbon in CommandUI.Ribbon

I'm trying to add a button to the ribbon, in the same place the default "I Like It" and "Tags & Notes" buttons are located. I the elements.xml file for this feature (SocialRibbonControl) and tried ...
1
vote
3answers
900 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, ...
1
vote
1answer
755 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 ...
1
vote
2answers
146 views

Debugging sandboxed solution?

I know this is a novice question, but my sandboxed solution works on one site and not the other. How/where can I actually see the errors generated by some sort of report? Debugging simply takes me to ...
1
vote
1answer
1k views

Sandbox solutions are not enabled on the SharePoint server form - Infopath 2010?

I have designed an Infopath form, picture button is placed inside the repeat table. When the button is clicked, I want to remove the current row of the repeat table, so have added the code mentioned ...
1
vote
1answer
881 views

How to deploy SandBox solution with images on the Server?

How can I deploy SandBox Solution from Visual Studio with images on the Server ? When I trying to deploy it, I am getting the following errors. 1). The Project Item "Images" cannot be deployed ...
1
vote
2answers
344 views

How to copy one custom list to another custom list (approximately 600 items)

I have one master list from which I wish to query and create a subset of this in a new custom list. The code I have so far works, but it is extremely slow and occasionally hits the hard limit of the ...
1
vote
1answer
494 views

Sandboxed solutions get all sharepoint lists in sitecollection

I am working with sandboxed solutons.(VS2010 C#) I need to retrieve all lists present in the site collection. I am able to get the lists from the site but not from entire sitecollection like subsites ...
1
vote
4answers
979 views

Sandboxed solution -get SharePoint lists programmatically

I am using the below code for retrieving all sharepoint lists from a site. SPSite site = new SPSite("http://servername:port"); SPWeb web = site.OpenWeb(); SPListCollection SPlists = web.Lists; ...
1
vote
2answers
927 views

(Sandbox solution) Ensure my javascript file is loaded after core.js

Using a CustomAction in the location of a scriptlink, I'm inserting a javascript code, however I need this code to run after core.js runs. Does anyone know how I can achieve this? My CustomAction ...
1
vote
1answer
1k views

News web part for Sharepoint 2010

I am looking to build a News web part (Sandboxed) as we can see in below link. http://timesofindia.indiatimes.com/tech/techhome/5880659.cms Requirement is, The News web part should contain a ...
1
vote
1answer
189 views

Creating a Sandbox Compatible WebPart that extends Rss webpart functionality?

I'm trying to create a web part that can pull in twitter feeds on a sandbox site. Since sandbox webparts cannot make cross domain calls, I thought that I could use an old trick I enjoyed, which was ...
1
vote
1answer
223 views

Install sandbox solution to SPWeb

I need to install a sandboxed solution to my site (SPWeb). However I am not a site collection administrator, and therefore cannot access the solution gallery that exists at the site collection level. ...
1
vote
3answers
2k views

Find out Site Template ID without powershell

Is it possible to find out the ID of a custom site template without using powershell? Using Sharepoint 2010 project in office 365 and I do not have access to the server. Found a blog post claimining ...
1
vote
1answer
115 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
332 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 ...
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
3answers
129 views

Solutions and Office.com

Does anyone know when/how office.com will integrate with sandbox solutions Google ...
1
vote
1answer
4k views

Deploying dll's in a Sandboxed solution from VS 2010

I am testing out Visual Studio 2010. I have created a sandboxed solution with a webpart. It deployed OK. I then tried adding a dll to the solution that would contain the business logic. This dll is ...
1
vote
1answer
197 views

Web Service call in Sandox Visual Webpart

I have web service which I want to call in my sandbox visual web part. when I'm call web service method in web part at that time I'm getting this error Web Part Error: Unhandled exception was thrown ...
1
vote
1answer
260 views

Activate sandbox solution programmatically sharepoint 2013

I'm trying to activate a sandbox solution on SharePoint 2013 using C#. This is the code that I am using, it's working and the solution is activated however the files in the solution are not copied to ...
1
vote
1answer
38 views

Upgrading 100+ sites with same schema

I have an application with over 100 site collections. Each site collection has a root site, and all of them have exactly the same schema. Now I need to make a change to a field in a list that these ...
1
vote
1answer
392 views

Event Receivers not working on Sharepoint Online

I have a sandbox solution. It has an event receiver. The event is triggered when a workflow is started. It works in our dev environment. However, when the solution is deployed to Sharepoint Online, ...
1
vote
1answer
55 views

Can I access in a SharePoint 2010 Online webpart, some webservice and do some CRUD?

I am using SharePoint Online. It is only possible to build sandbox solutions webparts. Is it possible in a sandbox solution webpart to access a webservice somewhere on the internet? I would like to do ...
1
vote
1answer
390 views

Increase SharePoint Execution Timeout in SharePoint Online (Office 365)

I have office 365 site and web part added on this site. this web part create a document library. This is a sandbox solution I want to create 2000 document library using this code snippet as follow: ...
1
vote
1answer
348 views

Required permissions to upload sandbox solution

I want to assign a user the minimum permissions to upload sandbox solution in the site collection, what's the required permission level?
1
vote
3answers
147 views

Adding members to groups i am not a member of

I have a process which runs in a event receiver, this involves adding users from ad to groups based on the contents of a custom list. The problem occurs when i try to add a user into a group that i ...
1
vote
1answer
702 views

Programmatically add publishing page in sandbox solution?

How do you programmatically add an item to the Pages list from a feature receiver in a sandbox solution? NB: The Microsoft.Publishing.dll assembly is not available within the sandbox, so you ...
1
vote
2answers
463 views

Write file to response problem

I am having trouble writing a file to the response stream (sandbox solution). The final line of this code block throws a null reference exception. HttpContext.Current.Response.Clear(); ...
1
vote
1answer
140 views

How to fake Manifest.xml for WSP builder solution

I know WSP builder creates manifest at run time and then deletes it but can I fake it somehow to add few safe controls (I know other ways but I want to know if I can do it this way or not)
1
vote
1answer
251 views

Extending Search Core Results with XSL

I'm working on a webpart that extends CoreResultsWebPart. I have create new solution and added new WebPart project into it. I got most of it working apart from XSL. I want to use this.XslLink ...
1
vote
2answers
4k views

Provisioning a Welcome Page to Pages Library

I have a custom Web Template which enables the default features of a Publishing Site and in addition it enables custom Features e.g. WelcomePageProvisioning. It's kinda straight forward, but still I ...
1
vote
1answer
664 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 ...