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
0answers
16 views

dynamic filtering for content query webpart

In first i'm in sandbox solution. as in my title, i need to filter dynamically the content query webpart. I found a lot of farm solution like overriding content query webpart and onload methhod but i ...
0
votes
1answer
17 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
1answer
2k 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 ...
3
votes
0answers
24 views

Replicate AllItems.aspx inline edit in custom page layout

I am attempting to replicate the inline editing features found in the allitems.aspx page in a custom page layout. For whatever reason the "new" and "edit" list options don't seem to be showing up. ...
0
votes
1answer
290 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
0answers
13 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
16 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
14 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
16 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
38 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
22 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
36 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 ...
1
vote
1answer
423 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
2answers
26 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 ...
2
votes
1answer
398 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 ...
0
votes
3answers
279 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
15 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
42 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
25 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
17 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
50 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
27 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

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
23 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 ...
2
votes
2answers
387 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
47 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
40 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
23 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
16 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
245 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
190 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
732 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
38 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
65 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
32 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
369 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
83 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
37 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
83 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
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
388 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
322 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
834 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
46 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
58 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
45 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
74 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, ...