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
195 views

Upgradable Sandboxed solution without DLL

I have a sandboxed solution with these items: A module Elements.xml (ElementManifest) HelloWorld.txt Package MyPackage-1.0.1 A feature Scoped for site In addition the solution is set to ...
2
votes
2answers
250 views

Debug custom sandbox workflow action

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
0
votes
2answers
174 views

Pass data from client side(javascript) to server side in Sandboxed solutions

I have a sandboxed solution in which I need to pass data from javascript to server side. Can anyone suggest me with help links or any ideas?
6
votes
1answer
120 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
1answer
195 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 + ...
2
votes
1answer
161 views

Sandboxed code execution request failed

I am able to deploy other Sandbox Solution from Visual Studio 2010 but in one solution I am getting below error: Error occurred in deployment step 'Add Solution': Sandboxed code execution request ...
1
vote
1answer
68 views

How to Close SPModalDialog & Refresh page from Code behind in SandBox solution?

I have Submit button in my SPModalPopup. By clicking submit button, after executing some code, I want to close the ModalDialog & Refresh the parent page. How can I do this ? I have tried ...
1
vote
1answer
83 views

Sandbox: can I get an html list item to Run in iframe?

I guess the real question is can I get rid of these lines in Response Header: X-Download-Options: noopen and Content-Disposition: attachment; filename=... so I can actually see an HTML ...
1
vote
1answer
64 views

How to DeActivate feature of my site?

How to DeActivate feature of my SharePoint site remotely ? I have created .wsp package file and uploaded SandBox solution to my SharePoint site. But in my elements.xml file it has 1 mistake of ...
1
vote
1answer
310 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
56 views

Adding EventRecevier in SandBox Sharepoint2010

This is Sample of my Code SPList list = new SPSite(siteURL).OpenWeb().Lists[listName]; SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers; SPEventReceiverDefinition ...
1
vote
1answer
110 views

How to access AD users in SharePoint 2010 Sandboxed solution?

I am running with an issue to accessing AD users in Sandbox solution. Can anyone has idea how to do that. I know how to do in normal SharePoint 2010 solution. But I am not able to do in the same ...
0
votes
1answer
145 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
1answer
45 views

How to find images & javascripts of SandBox solution deployment?

I have deployed SandBox Solution to my SharePoint Server. After deployment When I open the site in browser, it displays the images of the Site but not working of JavaScript file. (I have given the ...
0
votes
1answer
94 views

How to reference/write the file path in Elements.xml for UserControl in Sandbox Solution?

I have 1 solution (which is deploying as SandBox Solution). I have added JavaScript files, Images, Application Page & UserControl in one Module under project folder. I have one Element.xml file ...
0
votes
1answer
33 views

Member Variable / public property null on postback

I have a sandboxed visual web part (created in VS2012) when I initially load my web part and its child controls I set myProperty to a value retrieved from the database. When I fill out the relevant ...
0
votes
1answer
64 views

Sandboxed solution - Pass datafrom client side(javascript) to server side

Can anyone suggest me with different ways to passing data from client side to server side?
0
votes
1answer
256 views

SandBox Visual Web Part with Power Tools issue with ExchangeService

I am trying to make Sandbox Visual Web Part using Power Tools. It has given me below error : Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the ...
0
votes
1answer
430 views

Sandboxed code execution request failed in Web Part with no Exception thrown

So I'm working on a web part for a client of mine targeting SharePoint Online, and I've run into a brick wall that I've been banging my head against for the last few hours. The web part executes a ...
0
votes
1answer
225 views

Sandboxed Solution to create a Document Library and enabling manual declartion as record

I need to create a SharePoint Feature, when activated needs to create a Document Library and then enable the manual declaration as record. Following is the code which is working fine in a Console ...
0
votes
1answer
99 views

Access the selected item from Workflow within a Sandboxed solution

I am a workflow newbie so please forgive me if this is a naive question, but is there a way to programmatically get a reference to the selected item(s) of the list that initiated the workflow, in a ...
0
votes
1answer
197 views

What is Site Content and structure in Sharepoint Online and what it is used for or how to create a site structure?

1.What is Site Content and structure in Sharepoint Online and what it is used for or how to create a site structure? Please provide me some good links or videos on activating and using it. I searched ...
0
votes
1answer
228 views

List item field values incorrect in AllItems view, but correct in detail view

I've created a custom content type and a list definition and list instance based on it. In a web part, I add an SPListItem to the list, set its field values, and then call item.Update(). However, ...
0
votes
1answer
288 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
0answers
158 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 ...
1
vote
0answers
38 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
0answers
69 views

SP2010 Custom action runs sandboxed but not as farm solution

Short version: Which changes need to be made to convert a custom workflow action, developed in VS2010, from a Sandbox to a Farm solution. Assume it is a placeholder with no logic added yet. Long ...
1
vote
0answers
65 views

Ajax Call in sandbox Solution

How to make an ajax call in sharepoint sandbox solution. I have created a web part. In that web part I have created a multiple hyperlinks and grid view so when user clicks on link gridview should be ...
1
vote
0answers
276 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 ...
1
vote
0answers
226 views

Custom SiteMapProvider in Sandbox Solution

I'm creating a custom "mega menu" web part to replace the default SharePoint global navigation menu. This web part will be deployed to SharePoint Online (i.e. Office 365) so has to be a sandbox ...
1
vote
0answers
237 views

Setting rights for CustomAction. Problem with sandboxed or language?

I've got a CustomAction which contains a button. Only users with high level permissions should be able to see this button, so I tried setting the property Rights ="ManageWeb" on the CustomAction. ...
1
vote
0answers
237 views

Content Types not visible under New Button

I have a Sandboxed Custom Action for SharePoint Designer that can add Content Types to Document Libraries. The problem is that it does not automatically add it under the "New Document". It's not ...
1
vote
0answers
337 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 : ...
1
vote
0answers
626 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 ...
0
votes
0answers
18 views

Handle AJAX call in SharePoint sandbox

I'm developing a solution for Sharepoint 2010 using ASTreeView. This control handles also AJAX calls for node loading. To load children of a parent, a <ul><li>...</ul> needs to ...
0
votes
0answers
15 views

new to WCF: when will i need to write web services in SP2010 SBS?

what are some drawbacks with sandbox solutions where one might need to write custom web services as a work around? appreciate any advice. there is a lot out there on getting started but little on ...
0
votes
0answers
23 views

Sandbox Solution is not working while the proxy being updated

We are facing an issue with Sandbox Solution which handles the “ItemAdded” event receiver. It works like a charm however does not work when the below events are reported in the ULS. 04/03/2013 ...
0
votes
0answers
9 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 ...
0
votes
0answers
35 views

How can I use the controltemplates of 14Hive in UserControl of SandBox solution?

How can I use the following control in my SandBox solution of Visual WebPart(Sandboxed), "<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" ...
0
votes
0answers
78 views

How to open .aspx page using JavaScript in SandBox Solution?

I have the following Folder structure for SandBox Solution. MyProject -> TestModule -> Pages -> Page1.aspx When I try to open the page using JavaScript file like, var options = { url: ...
0
votes
0answers
15 views

Languages SharePoint Sandbox Solutions

I am having a problem with multiple languages in sandbox solutions. After a lot of reachers I came to the conclusion that there's no other option than programatically add languages to custom lists, ...
0
votes
0answers
31 views

How do i upload a Theme in a sandboxed feature

I am trying to upload a theme (using a module) to the _catalogs/theme folder. This is causing an error (e.g. wsp file fails on activation). It fails because i am in a sandbox. How can i get this to ...
0
votes
0answers
59 views

In a sandboxed solution, how can I customize the default list view for a list I'm deploying?

Here's what I tried: Deploying a custom xslt file in a module, and putting its URL in the <XslLink> property of the view definition in schema.xml. Failed (for some reason SharePoint is looking ...
0
votes
0answers
135 views

Custom EditorPart in SharePoint sandboxed solution

I want to implement the custom EditorPart in SharePoint sandboxed solution. I have the code like below. When I deploy the solution I cannot see the textbox and I noticed that the code is not ...
0
votes
0answers
201 views

Visual webpart (sandboxed) VS Power Tools

I have installed VS Power tools and I have added a visual webpart(sandboxed) into my sandboxed solution. I get the error "InitializerControl does not exist in the context" and also I see that no ...
0
votes
0answers
418 views

The shim execution failed unexpectedly - Access is denied

Business Case: The user needs to access the data outside of SharePoint 2010. The database is in MS SQL. The connection to MS SQL from SharePoint is done via configuring BDS and SSS impersonation ...
0
votes
0answers
107 views

sandbox workflow action: read taxonomyfield value and give the full path value back

I like to build a custom sandbox workflow action. The action must read a taxonomy field and give me the full path (like id;#value1:value2). Input for this sandbox workflow action is the field value: ...
0
votes
0answers
56 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 ...
0
votes
0answers
61 views

SPUtility.ExecuteRegisteredProxyOperations throws nullreferenceexception in my sandboxed solution

I a very basic event reciever that executes on both the ItemAdded and ItemUpdated events inside of document libraries. To handle exceptions, we've created a full-trust farm based solution to write ...
-1
votes
0answers
16 views

SharePoint 2010 sandbox webpart error: Unhandled exception was thrown by the sandboxed code wrapper's

I have builded a webpart for my sharepoint 2010 online portal. In this webpart I try to get some data by a webservice on another website. I press F5 in VS to test it, but when I test the webpart I get ...

1 2