Tagged Questions

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
42 views

Solution failed validation

I am creating an application for office 365. My sandbox solution works fine in local system. And it was working fine for office 365 site. But suddenly it has stopped working and after that during ...
1
vote
0answers
25 views

2013 workflow, get list item in parent web

In a sandboxed sharepoint 2013/office 365 workflow, I'm trying to query a list (using REST) in the root web, for a value. If the workflow fires in the root web, I get the value. If you call it in a ...
2
votes
0answers
23 views

Multiple Sandbox Worker Process Proxy spawning

I am setting up a new SharePoint 2013 dev vm (SP2013 SP1 and Sept 2014 CU) and I have enabled the Sandboxed Code Service in Central Admin. This causes multiple sandbox worker process proxy ...
0
votes
0answers
22 views

Sandbox Solution: Why won't it update when published?

I have a weird problem in VS 2013 working with a SharePoint NCSS Sandbox Solution. Whenever I right-click and Publish the .wsp locally on the file system, it publishes an old version of the .wsp. By ...
0
votes
0answers
83 views

Attach file to list item in SharePoint 2013 Sandboxed solution

I have developed a visual webpart in Sandboxed solution for SharePoint 2013/Online. I am trying to add an attachment to list item at the time of creating the item using Client Object Model. I have ...
0
votes
0answers
43 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
47 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 ...
3
votes
0answers
77 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
0answers
22 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
15 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
32 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
1answer
36 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
70 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
0answers
75 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
2answers
42 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
0answers
17 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
82 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
35 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
32 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
104 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
46 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
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.
0
votes
1answer
26 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
48 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
214 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
62 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
20 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
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
2answers
42 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
298 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
35 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
99 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
147 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
69 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
107 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
63 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
66 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
60 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
158 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
0answers
118 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
24 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
64 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
76 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
99 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
29 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
127 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
9 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?