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
236 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
361 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
237 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
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 ...
1
vote
1answer
216 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
212 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
193 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
212 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
109 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
31 views

add an SPListItem from a web part

I'm in a sandbox solution. I'm trying to add some items in a list from a click button in my webpart. It seems easy but with sandbox everything comes difficult. Here is my code and I've an exception ...
0
votes
1answer
21 views

Use of taxonomy in sandbox

I am discovering sandbox mode and already have a limitation issue. I can't use the assembly Taxonomy I've a treeview in a term store and I have to retrieve or set a value. What can I use as column ...
0
votes
1answer
75 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
106 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
57 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 ...
2
votes
0answers
51 views
+50

Generating User Security Context from a SharePoint Online workflow Activity

I have following SharePoint components-- A SharePoint online site with bunch of document libraries. Deployed workflow custom actions using visual studio and sandbox solution. Created provider ...
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 ...
2
votes
0answers
219 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
286 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
350 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
90 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
65 views

Deploy custom newform for custom list using wsp for SharePoint Online

I have a custom list which inherits 2 custom content types. Each content type contains around 50 odd fields. I have to customize the layout of the form and integrate jquery for the newform and ...
1
vote
0answers
25 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
18 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
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
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
0answers
162 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
189 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
88 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
331 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
396 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
363 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
394 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
689 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
20 views

Add user in group

I'm trying to add a user in a group during my event itemupdated. Like this he has the necessary permission to move a file and after I remove him from group. I've tried this to add but nothing ...
0
votes
0answers
9 views

Sandbox add information to page head

Is it possible to add information in the page head through a sandboxed solution without JavaScript and Custom Action? Preferred way is a code or control.
0
votes
0answers
20 views

master page __designer:Values issue using visual studio

I have created a master page using SharePoint designer and deploying it through the module in Visual Studio. I have created feature receiver which will set the master page when it is activated. ...
0
votes
0answers
20 views

Creating sub site in feature receiver does not work always in sandbox solution

I have created a sandbox solution in which there is one feature for creating two sub-sites. In the event receiver of that feature I have created two sites programmatically. The code is as per ...
0
votes
0answers
12 views

Waitning For Sandboxed Code Execution Error in Sandboxed Solution

I created visual web parts using sandboxed solutions, it was working fine but after few hours I got this error Waiting for sandboxed code execution request to complete within the worker process. ...
0
votes
0answers
35 views

Can't use all SPFileCollection.Add methods with sand boxed solution?

I'm copying items based on a queue (custom list) and an event receiver which looks at when items are added to that queue, but the method I need to use SPFileCollection.Add(String, Stream) is ...
0
votes
0answers
16 views

Web Templates and Sandbox Solutions

I want to create web template from scratch and upload it to only 1 site collection to be used there, but I want to do it in code, so my question, if I do it in code, will it generate wsp file? will ...
0
votes
0answers
8 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
25 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
54 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
47 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
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 ...
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
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 ...
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 ...
0
votes
0answers
256 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 ...