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
1answer
144 views

Dynamically enable feature in NCSS via JSOM

My original goal was to dynamically enable the SiteFeed feature in a dynamically created publishing sub web. This has been accomplished and works like a charm. Information on how to do this was ...
0
votes
0answers
49 views

EnabledScript on ribbon

I'm trying to enable a custom action when i select multi items. Unfortunately, i'm in sandbox solution. I've added the ribbon with sharepoint designer and it's only enable when i select one item. I ...
0
votes
1answer
20 views

create a view with selected items

i'd like creating a view with items selected when i click on a ribbon action. I'm abble to have the selected items but i'd like to know if there are a way to put this items in a particular view.
0
votes
0answers
16 views

use a file js to add ribon action

I'm trying to add a ribbon action in my list with SharePoint Designer. till here, no problems. I'd like to use a js file to collect all the selected items and write an excel file. I've to do this ...
0
votes
1answer
225 views

Best way to include Template File, Images, Layouts in Sandboxed solution

If you are trying to include Template File, Images, Layouts in Package. In Visual Studio 2010 will raise an error like “The deployment type "TemplateFile" of file "XXXUserControl.ascx" in Project Item ...
0
votes
0answers
161 views

Sandboxed solution web part works everywhere except site home page (SP2010)

I’m having a problem ongoing with a sandboxed solution for SharePoint 2010 that I can’t figure out. My web part is a sandboxed solution, being distributed as a wsp package. The wsp package is ...
0
votes
1answer
81 views

The deployment type “TemplateFile” of file “xxx.js” in Project Item “Layouts” is not compatible

I have deployed my SP solution to farm successfully with some js files, those are added to layout mapped folder. Then I want the same solution to be deployed to SharePoint online. I just chaged the ...
1
vote
1answer
338 views

Why does installing sandbox solutions with feature activation receiver on sp 2013 fail on dev machines

previously I asked on sandbox solutions in 2013 here and part of the solution was [...] coded sandboxed solutions will continue to work in on-premise SharePoint [...] Yet, I still could not ...
0
votes
2answers
214 views

Using Code in SP2013 sandbox solutions

I inherited a sandbox solution deployed to an SP2013 and I am currently struggeling to add a new feature version. Somewhere I read that sandbox solutions are no longer soupported in 2013 - but I ...
0
votes
3answers
705 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
25 views

iLoveSharePoint Create a Site with Publishing

So it looks like I may have screwed the pooch on this one... Being ignorant to publishing, I activated it to edit the master page after I did a bunch on custom workflow stuff. One of which was the ...
0
votes
0answers
112 views

CAML query on site to get all items modified after a date

I'd like to know a way or if it's possible to get all items modified from a date in a site. Now for having this, I've a client script because i'm in sandbox solution, I've to loop on each list of the ...
0
votes
2answers
109 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
48 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
389 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. ...
0
votes
1answer
21 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.
1
vote
0answers
50 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
40 views

Farm Solution Vs Sandbox solution [duplicate]

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
65 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 ...
3
votes
2answers
430 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 ...
0
votes
1answer
636 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
109 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
2answers
26 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
0answers
29 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
3answers
261 views

Creating public properties in sandboxed webpart solutions

I'm trying to port a farm solution to a sandboxed one, and I can't figure out how to port this piece of code: [ToolboxItem(false)] public partial class vClockPartSB : ...
2
votes
1answer
429 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 ...
6
votes
3answers
923 views

How to create a sandboxed workflow action within Microsoft SharePoint Online 365

I have followed the steps on http://msdn.microsoft.com/en-us/library/ff798499.aspx in order to create a custom sandboxed workflow action, and have deployed this into a site workflow in Microsoft ...
0
votes
2answers
44 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
4answers
297 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
0answers
42 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
1answer
455 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 ...
0
votes
1answer
390 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
115 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
151 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
11 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
402 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 ...
0
votes
1answer
377 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, ...
1
vote
2answers
1k views

(Sandbox solution) Ensure my javascript file is loaded after core.js

Using a CustomAction in the location of a scriptlink, I'm inserting a javascript code, however I need this code to run after core.js runs. Does anyone know how I can achieve this? My CustomAction ...
0
votes
0answers
97 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
101 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 ...
1
vote
1answer
324 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
15 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
2answers
2k views

How do I deploy custom web part to Sharepoint Online Site Collection?

After uploading the wsp to the site collection using the browser and activating it, everything seems to work fine and i see all the page layouts, masterpage, content types, lists and webparts. BUT, ...
2
votes
3answers
2k views

Problem debugging web part on SharePoint 2010 beta and Visual Studio 2010 beta

I have created a "Hello World" web part. When I pressed F5 in Visual Studio 2010, I got the following error. I have already got Microsoft SharePoint Foundation User Code Service started. Can anyone ...
1
vote
0answers
147 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
1k views

How to use treeview in Sharepoint 2010 Sandbox solution?

I have tried using Treeview in my Sanboxsolution webpart but the problem is that in a web page it is not loading properly. And when i click on node it gives me javascript error. For these two errors i ...
0
votes
1answer
25 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 ...
1
vote
2answers
188 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
1answer
73 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 ...
1
vote
3answers
1k views

Getting SPD workflows to run on a daily basis

I have a workflow that I need to run on a daily basis. It's going to run in a web application hosted in Sharepoint Online, so there is no access to Central Administration. Which means the timer jobs ...