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

Any way to Install an (inline Host Page) Sandbox Solution Web Part via an SPO Hosted App?

Our understanding is that: SPO Hosted Apps only support client side code (no server side code) All webparts produced by SPO Hosted o365 apps always install as iframes under the app host domain It ...
0
votes
1answer
36 views

Can I test a SharePoint solution on a remote server?

I want to develop a SharePoint Solution event receiver (not SharePoint app) on a computer with visual studio 2013 but without SharePoint. SharePoint will run on a different computer on the same LAN. ...
0
votes
0answers
25 views

Best way to go converting Sandbox to Provider Hosted App

In the past I have written a complete application in a sandbox solution. It is completely written with: jquery, knockout, spservices, amplify, moment, ajax, json2, etc. Since we're moving to ...
6
votes
5answers
7k views

Sandboxed web part failing with “No available sandboxed code execution server could be found”

I'm deploying a web part as a component of a sandboxed solution from Visual Studio 2010 to Windows 7 SharePoint Foundation Server 2010 on my development box, and I receive the following error when ...
1
vote
1answer
215 views

How to change the site logo of sharepoint online (Office 365) using C#?

I want to change the Site Logo of the Office 365 sandbox solution using C#. I have tried this code: site.RootWeb.SiteLogoUrl = imageUrl; But, Its not working. I also want to upload the image ...
1
vote
1answer
38 views

SharePoint 2010 keywordQuery

I am using the keyworkQuery class to fetch some items from a Sharepoint 2010 list. I need to fetch also the Attachments for each item how can I do?. I tried: KeywordQuery kw = new ...
1
vote
1answer
77 views

best approach to get and display list items in sharepoint branding site

I have implemented a branded SharePoint site for a customer .The customer wants to have some "dynamic" custom list views e.g fetch 3 items from a specific list and show them in a custom designed box ...
0
votes
1answer
22 views

How sandbox solutions are migrated from SP2010 to SP2013

Can anyone tell me what happens to Sandbox solutions when migrating from SP2010 to SP2013. I know that sandbox solutions are depricated in SP2013, so how are they going to work in SP2013. Thanks,
1
vote
2answers
217 views

How to remove “add document” button of document library programmatically using C#?

I have created a document library programmatically using C#. Now, I want that when any particular document library created then its 'add document' button should not view or if possible then whole ...
2
votes
1answer
137 views

Update Panel not working in Sharepoint online sandbox solution

I have added a UpdatePanel on the webpart and then when I upload a .wsp to office 365 then & open the page(which contains this webpart) then error occur: Web Part Error: Sandboxed code execution ...
1
vote
1answer
278 views

Implicit function evaluation is tuned off by user?

When I am trying to debug the ItemUpdating code in visual studio. I cannot see values of list values. How can I enable this?
1
vote
2answers
173 views

Fixing managed meta data navigation problem

I have the following :- SharePoint server 2013 web application. the web application contains two site collections of type enteprise wiki. i have enabled metadata navigation for the two site ...
0
votes
0answers
136 views

Validate Google Re-Captcha Server Side (Sandboxed solution)

I tried validate google recaptcha at server side, and according it's documentation, I had to do a request to an address (https://www.google.com/recaptcha/api/siteverify), passing three parameters ...
0
votes
1answer
141 views

SP2013 Sandbox Webpart with a ClientPeoplePicker

I know that the old Peoplepicker won't work in a SP2013 Sandbox Webpart, but how about the ClientPeoplePicker - Is it possible? Or is there a another solution to select fast & easy an SPUser ...
1
vote
3answers
2k views

Find out Site Template ID without powershell

Is it possible to find out the ID of a custom site template without using powershell? Using Sharepoint 2010 project in office 365 and I do not have access to the server. Found a blog post claimining ...
0
votes
1answer
309 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
1answer
345 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 ...
6
votes
5answers
3k views

How to customize Feature image for a sandbox solution?

I'd like to add my own icon graphic to a feature. I found out that the ImageUrl attribute in the feature.xml definition points to the /_layouts/IMAGES folder which is out of scope for sandboxed ...
1
vote
0answers
264 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 ...
0
votes
0answers
65 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 ...
3
votes
0answers
238 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
181 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
74 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
248 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
61 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
22 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
18 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
356 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
214 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
97 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
492 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
414 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
890 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
38 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
120 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
0answers
52 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 ...
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
55 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
47 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
75 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
456 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
786 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
136 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
34 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
264 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
479 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
983 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
50 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
493 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
48 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 ...