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)

4
votes
4answers
915 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 ...
6
votes
4answers
5k views

Sandboxed web part failing with “No available sandboxed code execution server could be found”

I'm deploying a web part as a component of a sandboxed solution from Visual Studio 2010 to Windows 7 SharePoint Foundation Server 2010 on my development box, and I receive the following error when ...
0
votes
1answer
59 views

Access Elements file on Feature Activated in Sandboxed solution

I need to access an Element file in feature activated event in sandboxed solution. How do I do it. properties.Feature.RootDirectory is not present in sandboxed solution. anyway to go around to access ...
1
vote
3answers
293 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
163 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 ...
2
votes
1answer
246 views

How to add tooltips to sharepoint 2013 form fields

I am working with a User (sandbox) Solution created in Visual Studio 2012 for SharePoint 2013. I have been asked to add custom tooltips to the default new and edit form fields. I have not been able ...
2
votes
0answers
28 views

convert to sandbox

how i can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as microsoft documentation ...
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 ...
3
votes
1answer
617 views

Install-SPUserSolution: Sandboxed code execution request failed

When executing Install-SPUserSolution powershell command the following error is shown: Install-SPUserSolution : Sandboxed code execution request failed. At line:1 char:23 + ...
0
votes
1answer
36 views

Localization of web part label using VS 2010 in a sandbox solution

I have created a sandbox project in sharepoint. I have a module folder which has resources file. I need to localize one label in a web part in Arabic language. <asp:Label ID="lbl" runat="server" ...
0
votes
2answers
79 views

close modal dialog in sandbox solutions

i tried to close the modal dialog in sandbox solution using the following code HttpContext context = HttpContext.Current; context.Response.Write("<script ...
6
votes
2answers
85 views

Install sandbox package from app

I have sandbox solution for SharePoint Online (wsp package without dll) and I want install this package from app (for simplest installation). Is it possible?
1
vote
1answer
196 views

How to get url of file after uploading to document library?

How do you return the URL of a file after it has been uploaded to a document library, using the default upload page? Returning the text from the "inputFile" textbox from the upload.aspx page would ...
2
votes
1answer
55 views

sandbox solution priviliges issue

I have a sandbox solution for SharePoint 2013. (because it has to work in Office365) I have an eventreceiver that adds an item to a list. I don't want users to manually change that list, so I don't ...
4
votes
1answer
187 views

Full-trusted proxy for SP2013 sandbox solution

In my sandboxed solution I have the following code that activates a proxy: public override void FeatureActivated(SPFeatureReceiverProperties properties) { var type = typeof ...
0
votes
0answers
48 views

Sharepoint Ribbon Contextual Tab in Sandboxed Web Part

I'm wondering if there's anyone who converted this MSDN example to sandboxed web part version - http://msdn.microsoft.com/en-us/library/office/ff407578(v=office.14).aspx. SPRibbon not working in ...
2
votes
1answer
497 views

Sharepoint Foundation 2010 : Unable to create new sites in my site collection

So I had originally upgraded an old WSS 3.0 site to SharePoint Foundation 2010 by the database attach method. Site worked fine for a couple months until now. Now we our unable to create new sites in ...
0
votes
0answers
66 views

How to render RichTextField in publishing page without server side code

I'm trying to render a rich text field in my publishing page, within a content editor webpart. I don't want to use any external client side plugins to render a rich text editor. How can I add a ...
1
vote
1answer
689 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 ...
0
votes
2answers
204 views

Sandboxed solution deployed activated, in Site Collection Features but not in Manage site features?

I have a sandboxed feature I deployed successfully. It is activated when I check in Site collection features, but when I go to Manage site features it is not there to activate. What am I missing? ...
2
votes
1answer
166 views

Visual Web Part Property Validation in Sandbox Solution [SharePoint Online 2013]

How can I validate a custom web part property in a Sandbox solution (SharePoint Online 2013 environment)? I am throwing a WebPartPageUserException when validation fails, as shown below. private ...
8
votes
3answers
326 views

How to programatically determine if you are running in on premise Sandbox or SharePoint Online

How could you programatically determine if code is running in an on-premise Sandbox model or SharePoint Online sandbox?
2
votes
0answers
221 views

Custom form for custom list causing “A potentially dangerous Request.Path value was detected from the client (:)”

I am working on trying to convert a custom sandbox solution to work with SP2013 Online. I can get the feature to activate, and all of our lists are created. However, the custom form we use for the ...
0
votes
2answers
220 views

Custom Property in Sandboxed Visual Web Part

I would like to create a Custom Property for a Sandboxed Visual Web Part but I'm not able to do so. Requirement: I would like to display data of Blog "Posts" List(RSS Feed) in Custom web part by ...
1
vote
1answer
221 views

Read items from External list in Sandbox Solution

Can we read an external content type using a sandbox solution for share point online? If anyone has faced this issue then please share how is it possible. Thanks
3
votes
3answers
451 views

“Service too busy” exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver

The title says it all... I am trying to programmatically activate some sandbox features (from within a feature reciver that is also part of the sandbox solution). And whilst the features without ...
0
votes
0answers
55 views

How to make dropdown menu on a list item programmatically?

It appears that SPMenuField is not available in Sandboxed solution. Are there any options to do this programmatically?
0
votes
1answer
70 views

Upgrading a sandbox solution SPD reusable workflow

So, I made sure to follow all the best practices right from the beginning... use content types, create SPD reusable workflow, export the workflow as a template (sandbox solution WSP)... Built it out ...
7
votes
1answer
8k views

Can't Activate Solution from Site Settings in SharePoint foundation 2010

I'm currently tasked with developing a branding solution for SharePoint Foundation sites. I've created a WSP file which can be deployed through my local machine through Visual Studios, but when I ...
3
votes
1answer
2k views

Is it possible to get detailed error messages in SharePoint Online?

When doing any sort of development/testing work against SharePoint Online, there are bound to be some errors. Some errors manifest in the form of exceptions, which can be logged to a special-purpose ...
0
votes
0answers
114 views

Event Receiver causing error on subsite

I have a document library on a site called "Guidelines" on all the subsites are document libraries also called "Guidelines" and on their subsites are more libraries called "Guidelines". All these ...
0
votes
0answers
69 views

Sandboxed solution has exceeded its daily resource quota

A couple of days ago my client has reported an error about exceeding resource usage quota of our sandbox solution. The problem is - I'm not the owner of the farm and I don't have an access to any ...
1
vote
1answer
37 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 ...
2
votes
1answer
208 views

Custom Action in user dropdown

Im trying to implement a custom action in the logged in user dropdown (when you click 'sp_admin' in the image below). The custom action should be a text called "Switch user", which when clicked ...
1
vote
0answers
103 views

Will there be many sandbox related questions on certification 70-488?

According to this Microsoft article on the 70-488 certification test for SharePoint 2013 there will be several question regarding the creation of sandbox solutions, despite the (still debated) ...
1
vote
1answer
213 views

Setting the value of a sandbox web part's custom properties in .webpart file

I've created a new web part in a sandbox solution. This web part has a custom string property called 'PetName'. I'd expect to be able to set the initial value of this property in the .webpart file. ...
1
vote
1answer
74 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 ...
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/ ...
0
votes
2answers
2k views

How to add .aspx page to Module in Sandbox solution?

When I am adding any application page(.aspx) to my Module in the Visual Studio Project of SandBox Solution, it is always adding that page in Layouts(Mapped) folder. And not adding that page in the ...
0
votes
0answers
76 views

Adding a document Template as Content Type from an Event Handler throws AmbiguousMatchException

I am trying to add a document template to my site, which is to be added during an event. This code has been tested in a console app and worked perfectly, however it keeps throwing the ...
1
vote
0answers
107 views

VS 2013 not deploying silverlight solution in sandboxed on stand alone dev: SPUCWorkerProcess not running error

I have a stand alone machine with SP2010 set up on Windows Server 2008 R2. Office, SPD, VS2013, Expression, etc. There is no AD or anything as it is stand alone installation using local accounts and ...
1
vote
1answer
594 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
1answer
176 views

Is it possible to read an excel file through code in a sandbox solution - SharePoint Online

On a SharePoint Online environment, I have an Infopath based list with Attachment enabled. When an excel file is attached during a new item creation on this list, I want to have an event receiver that ...
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 ...
1
vote
0answers
164 views

Provisioning publishing pages with custom webparts in SharePoint 2013

I have a sandboxed solution where i provision publishing pages with custom web parts. Like this: <Module Name="CustomPage" Url="$Resources:cmscore,List_Pages_UrlName;" ...
3
votes
2answers
2k views

Page.ClientScript.RegisterClientScriptInclude in Sandbox?

I'm trying to use jQuery in a Sandboxed Visual WebPart (2010): protected void Page_Load(object sender, EventArgs e) { string jQuerySrc = Page.ClientScript.GetWebResourceUrl(this.GetType(), ...
0
votes
1answer
67 views

Sandbox Visual Webpart Not Adding BulletedList Control

I have a sandbox visual webpart (got it by installing SharePoint Power Tools) and in that I have a "Place Holder" control named "phMsg". I am adding a "BulletedList" control to that place holder in ...
12
votes
2answers
2k views

Cannot add custom web part to page using the JS OM

I'm trying to add a custom web part (that is one I have written myself) using the new Javascipt OM available with SharePoint 2010. My solution is also running within the Sandbox. I have it working ...
0
votes
3answers
252 views

Sandboxed Solution doesn't work on production server

I am new to SharePoint development and recently get stucked by a problem of deploying own Sandboxed Solution that do a event receiver job (ItemAdded). It create a subfolders in top folder in a ...
1
vote
1answer
320 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, ...