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
93 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
1answer
323 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
28 views

SharePoint 2013: Programatically Installing AND Activating sandbox solutions using CSOM

I have tested this successfully, but wanted to check if anyone else has run into issues with this approach? The following object SP.Publishing.DesignPackage allows you to .install() and .apply() ...
1
vote
1answer
125 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 ...
1
vote
1answer
148 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
1
vote
1answer
178 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
291 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
176 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
177 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
99 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 ...
0
votes
1answer
23 views

Server getting flodded with SPUCWorkerProcess.exe

Got a SP2010 Server server that we use as an app server (not a WFE other than the Client Administrator). I had to reboot it to clear out dozens of processes as seen in Task Manager. We had probably ...
0
votes
1answer
59 views

Created a visual webpart for office 365 and getting error

This is the error, It's just a simple visual web part i created as sandbox, please guide Getting Error Message for Exception System.Security.SecurityException: That assembly does not allow ...
0
votes
1answer
31 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 ...
0
votes
1answer
31 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
1answer
1k views

Webpart added to webpart page using modules is not visible in edit page

I am provisioning a webpart to a webpart page in sandboxed solution. here is the module's element.xml <?xml version="1.0" encoding="utf-8"?> <Elements ...
0
votes
1answer
62 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 ...
0
votes
1answer
100 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
173 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
78 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
70 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
276 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 ...
2
votes
0answers
26 views

convert to sandbox

how i can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as microsoft documentation ...
2
votes
0answers
132 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 ...
2
votes
0answers
254 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
0answers
342 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
79 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 ...
1
vote
0answers
21 views

when on click try to create subweb, it gives me error

This function works fine, SP.SOD.executeFunc('sp.js', 'SP.ClientContext', loadCurrentWeb); but when I put it in, function AddNewSubWebNow() { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
1
vote
0answers
13 views

Sandbox Logging dll won't load

I am trying to use the codeplex.spsl Sandbox Logging framework but am having trouble getting it to execute in my code. The following error occurs on the last line of the following code snippet. ...
1
vote
0answers
92 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
0answers
99 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
0answers
122 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;" ...
1
vote
0answers
156 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
85 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
311 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
361 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
323 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
380 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
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 ...
0
votes
0answers
3 views

What is the difference in throttling when using Sandbox and farm solutions?

I want to know what difference it makes in terms of throttling when we use Sandbox and farm solutions?
0
votes
0answers
17 views

Unable to create new web in sandbox solution

I have created an event receiver on custom list for ItemAdded that will create new site from the custom template whenever new site is created. My custom template is: <Elements ...
0
votes
0answers
27 views

Export to Excel ignoring filters

I understand that when we use the Export to Excel button in the ribbon bar, what we get is an IQY file containing a query for OWSSVR. I am trying to filter the data returned by OWSSVR. When I go to ...
0
votes
0answers
31 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
44 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
0answers
92 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
53 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 ...
0
votes
0answers
65 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 ...
0
votes
0answers
78 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
26 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
224 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 ...