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)

0
votes
2answers
15 views

Only Site Collect Admin can deploy SharePoint?

I am trying to deploy a SharePoint 2010 project onto an SP server. When I hit F5 after building the solution, the output says that "Only a site collection administrator can activate or upgrade ...
0
votes
0answers
5 views

Taxonomy problem in Office365

so I have a sandboxed solution with an event receiver which generates a document number. Part of this document number is using a TaxonomyFieldValueCollection to retrieve the field name for that ...
1
vote
0answers
25 views

Sandbox Solutions on a SharePoint VM that also acts as a Domain Controller

I have dozens of 'Microsoft SharePoint Foundation Sandboxed Code Execution Worker Process Proxy' processes running. A new one seems to appear every 10-15 seconds until my memory is completely spent. ...
1
vote
0answers
19 views

Get usage statistics in Sandbox

I'm working in SharePoint 2010 in sandbox solution. I have a site with lot of subsites and lists. I need to have statistics of consultation: like how many times this site is visited, how many times ...
0
votes
1answer
19 views

Get all the modified item from a site

I'd like to know a way to have all the modified item from a date in a site. I'm in a sandbox mode so forget powerShell but the script client will be the good way.
0
votes
1answer
17 views

Farm Solution Vs Sandbox solution

Is there anyone here can explain for me, which is better to use, and why?. In my opinion Sandbox solution is using for site collection and farm solution using for the all web application. Is that ...
0
votes
0answers
12 views

Sandbox Proxy in SharePoint 2010-Unhandled exception was thrown by the sandboxed code wrapper's Execute method

I Implemented a Sandbox Proxy in SharePoint 2010 and deployed. But when I access it in SharePoint site it gives error which I wanted to overcome it sandboxed solution. "Unhandled exception was ...
0
votes
1answer
10 views

Request for the permission of type 'System.Net.WebPermission error only for sandboxed solutions

I have created a farm solutions to access external webservice an created a webpart. After deployed the solution it works fine. Then requirement has been changed. So I changed the application to ...
0
votes
0answers
17 views

refinement panel with term store

I customized my refinement panel and created 2 managed properties from 2 term store. Everything it's ok and it displayies in the refiner but in only one tag. Here is my xml from y refinement panel ...
0
votes
0answers
8 views

Accessing Project Web App data from sandboxed solution

I have Project Web App installed. On the Project Site under the site collection, I want to add a custom web part that will show the start date of the project. However, the solution must be sandboxed ...
0
votes
2answers
21 views

Add a shortcut in ribon of task list

I've a task list and in the ribbon under Items I've a blue buton "Assign to me" Do you know how I can add this to my other lists? And how is it working?
0
votes
2answers
36 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 ...
2
votes
1answer
123 views

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 ...
0
votes
0answers
24 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 ...
2
votes
4answers
55 views

How to create permission level for add only

I need to create a permission level for allowing to add only in document library. The issue is when i add permission: Add items, it checkes automatically View Items I'm n sandbox solution so i don't ...
0
votes
1answer
55 views

Custom Master page will not visible in Sharepoint Designer

I have created a solution(sandbox solution) for applying custom master page on feature activation.Custom Master page is not visible in Sharepoint Designer 2013. Element.xml <Module ...
0
votes
1answer
28 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
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
1answer
69 views

Apply Custom Master Page Only to New Subsite

I'm using Microsoft's Deploying Branding Solutions for SharePoint 2010 Sites using Sandboxed Solutions sample solution to start. I just want to: Create a subsite Apply custom master page only to the ...
0
votes
0answers
33 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
1answer
52 views

CustomAction ScriptLink Remaining after feature deactivation

I have a declarative sandbox solution in SP2010. It contains 3 customaction scriptlinks to javascript files that are deployed into the style library. On feature Activation it adds the 3 links and on ...
0
votes
0answers
35 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 ...
1
vote
1answer
47 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 ...
0
votes
0answers
14 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. ...
1
vote
0answers
80 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 ...
0
votes
1answer
22 views

My sand box solution simply does nothing (item added) on my site?

I have a sand box code which iterates through items after they are added. It works perfectly fine on one website I have on a VM, and the site is literally set up in the exact same way. But the sand ...
0
votes
1answer
56 views

Create subsite in another site collection using event recievers

I am trying to create a subsite in another site collection using an event receiver on a list from current site collection. How do I do that? I have tried getting the context of the target site ...
0
votes
1answer
42 views

How can I build a Visual Studio 2010 solution from wsp? [duplicate]

I've inherited a site with a Sandbox Solution but no documentation nor the original solution package. How can I extract the .wsp to get the solution? I tried renaming it to a .cab file and ...
0
votes
0answers
44 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
25 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 ...
1
vote
2answers
77 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 ...
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
2answers
64 views

Add file to subsite with C# knowing only URL?

I would like to use C# to add a file to a library in a subsite. I believe SPWeb will only reference the site I am on. In an ItemAdded eventreceiver, I want to use something like SPFolder ...
0
votes
1answer
65 views

Copying document with sandbox solution

I would like to open a new window when the user clicks a button so that the user can specify a destination url (some doc library in a subsite). Is this possible to do with a sandboxed solution? One of ...
1
vote
1answer
330 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() ...
0
votes
0answers
34 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
1answer
102 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
196 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
1
vote
0answers
26 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', ...
0
votes
1answer
79 views

How to add property bag javascript

how can I add a property let say "StartDate" to the subweb i just created in this code, var clientContext; var website; var subweb; SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady); ...
0
votes
1answer
125 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
2answers
190 views

An unknown exception occured while executing a sandbox code

Just created a visual webpart as sandbox solution, didn't changed a word other then adding some text to visual webpart, tried to deploy it but getting this exception, it is a single server with dc, ...
0
votes
0answers
68 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 ...
1
vote
0answers
24 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
2answers
216 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 ...
0
votes
2answers
522 views

Sandbox Event Receiver Not Working on SharePoint Online

I build an SharePoint 2013 Sandbox Event Receiver which works in my local on-prem dev environment. However, when pushing it up to my SharePoint Online tenant it does not work nor even fire at all. I ...
0
votes
1answer
67 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
2answers
125 views

Web part custom properties are cleared after save - until page refresh

I have noticed a bug that occurs on all custom web parts I created. Let's assume I have following web part (sandbox solution) with two properties: using System; using System.ComponentModel; using ...
1
vote
1answer
191 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
0answers
29 views

convert to sandbox

how i can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as microsoft documentation ...