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)

8
votes
4answers
728 views

How to programatically determine if you are running in on premise Sandbox or SharePoint Online

How could you programatically determine if code is running in an on-premise Sandbox model or SharePoint Online sandbox?
1
vote
1answer
846 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?
0
votes
0answers
8 views

SPOnline: Sandox event receiver inconsistent behavior

I have following 3 components: Provider hosted App having full control on web and using App only permissions (App) List-A: This custom list has a sandbox event receiver on item creation. App creates ...
1
vote
1answer
50 views

Is creating a Timer Job in SharePoint 2013 as a farm solution , a deprecated approach that i should avoid

I want to create a timer job in sharepoint 2013, the purpose of the timer job, is to loop through my list items and do these two actions:- Check if the "Review Date" of an item is met (Review date = ...
1
vote
1answer
532 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 ...
2
votes
3answers
59 views

How to remove SharePoint 2013 Sandbox feature

I have a Sandbox feature that was deployed to my SharePoint 2013 environment. I say "Sandbox" because if I run: Get-SPFeature It doesn't come up in the list. But if I run: Get-SPFeature -Site ...
1
vote
0answers
12 views

SharePoint Sandbox Trouble

I have tried creating a mailbox on a site, and I have tried to set-up alerts hoping that the emails each of the accounts are associated with would be used rather than the account emails I created ...
3
votes
1answer
56 views

Confused about SharePoint Solutions

I'm confused about SharePoint Solutions. Could you verify if my understanding is correct? There are only 2 kinds of SharePoint Solutions: Sandboxed Solutions: When a solution package is deployed to ...
2
votes
0answers
27 views

how to get the files from active folder… the folder name is in hte URL - rootfolder

I've a document library and within this document libary I have sub-folders (no subfolders further). There is 1 documentlibary called DocumentACC and this document libary contains Sub-folders as you ...
2
votes
1answer
5k 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 ...
0
votes
1answer
47 views

How to add a 3rd party library in sharepoint 2010 event receiver

I am writing a SharePoint item event receiver to OCR documents that are uploaded/added to a library to generate searchable PDF for that document. I'm using a third party library (dll) ...
0
votes
1answer
46 views

unhandled exception was thrown by the sandboxed code wrapper's execute method in the partial trust domain

The below Error was thrown while activating the feature in SharePoint Sandboxed solution in Sharepoint-2013. unhandled exception was thrown by the sandboxed code wrapper's execute method in the ...
3
votes
3answers
2k 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 ...
13
votes
2answers
16k views

Can't Activate Solution from Site Settings in SharePoint foundation 2010

I'm currently tasked with developing a branding solution for SharePoint Foundation sites. I've created a WSP file which can be deployed through my local machine through Visual Studios, but when I ...
1
vote
0answers
12 views

InitializeControl does not exist in the current context Office365 (Sandbox solution)

I am attempting to deploy a Visual Web Part (Sandbox Solution) and I am receiving following error: The name 'InitializeControl' does not exist in the current context". I was able to deploy a ...
2
votes
0answers
28 views

The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request in SharePoint 2013

In SharePoint 2013 on-Premise I was getting the error The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request while uploading ...
2
votes
2answers
48 views

Change GUID in lookup column

I have a sandbox solution in SharePoint . I have created number of site columns, Content Types , list definitions and list instances. Everything has individual feature. For Ex: Site column ...
1
vote
0answers
17 views

Hide Timeline using XML Code in share point Sandbox solution

How can I set ShowTimelineIfAvailable Property of Timeline in task list view using XML ? I want to hide time line from the task list view. I've Sandbox Solution with page provisioning. I'm creating ...
1
vote
0answers
25 views

Sandbox solution getting error on on prem

Sandbox solution gives me error : Unhandled exception was thrown by the sandboxed code wrapper’s Execute method in the partial trust app domain: An unexpected error has occurred from below ...
3
votes
1answer
40 views

Sandbox solution error when i upload it in share point online

XDocument fldSchema = XDocument.Parse(fldLookup.SchemaXml); XElement Root = fldSchema.Root; if (Root.Attribute("List") != null) { if (SourceList != null) { XAttribute objList = ...
0
votes
0answers
22 views

SharePoint Sandbox Solution Error

I have developed web template in visual studio sandbox solution. Sandbox solution is worked fine in on premises but when i am going to activate WSP and create new sub site using this web template i m ...
0
votes
0answers
23 views

Updated DLL in Sandbox Solution upgrade not deploying to GAC

I have a sandbox solution that I am using to deploy a visual web part (among other things) to my site. I have already deployed one version of this web part, and I am now trying to add some controls / ...
0
votes
2answers
58 views

add an SPListItem from a web part

I'm using a sandbox solution. I'm trying to add some items to a list from a button click in my webpart. It seems easy but with sandbox everything becomes difficult. I'm getting an exception when I ...
2
votes
2answers
2k views

The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request

I am working with SharePoint 2010 server. I have deployed a sandboxed solution to the sharepoint server. But while adding the webpart to page it shows the following error: The sandboxed code ...
0
votes
1answer
27 views

What is workaround to deploy webpartpages using sandbox solution in SharePoint?

Sharepoint sandbox solution does not support Microsoft.SharePoint.WebPartPages.WebPart class. Reference : https://support.microsoft.com/en-us/kb/979636?OSMCSignIn=true&wa=wsignin1.0 So is ...
0
votes
1answer
23 views

Deploying the custom wepart with wsp extension

I am new to .net and sharepoint world and using sharepoint 2013. My custom webpart is accessing a webservice, which is in the different solution. When I run the webpart in the debug mode in Visual ...
1
vote
0answers
1k 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() ...
3
votes
1answer
600 views

How to DeActivate feature of my site?

How to DeActivate feature of my SharePoint site remotely ? I have created .wsp package file and uploaded SandBox solution to my SharePoint site. But in my elements.xml file it has 1 mistake of ...
0
votes
1answer
25 views

Records Center Template allows Sandbox solutions in SharePoint 2010

Can some one please tell, can we activate Sandboxed solutions on a Record Centre template site? When i upload a solution to gallery, i see the activate button is greyed out. I have checked the ...
0
votes
3answers
31 views

How do I set Root Web properties

I decompiled Microsofts 'CRM 2015 List Component' sandbox solution because I have some strange issues with it and I noticed that it contains tracing code/logic (which can help me to pinpoint the ...
0
votes
1answer
128 views

How to create people picker using jquery [duplicate]

How to create people picker in sandbox solutions using jquery? I need design part also. Any idea?
0
votes
0answers
6 views

using infopath XmlFormViewLetterTemplate as a part of webpart in sharepoint sandbox environment

i want to to show infopath from with XmlFormViewLetterTemplate but i receive this run-time error "An exception of type 'System.Security.SecurityException' occurred in SABA_SandBox.dll but was not ...
0
votes
1answer
106 views

ItemUpdated event receiver not trigger when item update from workflow in sandbox solution

Itemupdated Event Receiver not triggered when item update from workflow I have created workflow on document library which simply update single column. And i have also create ItemUpdated event ...
0
votes
3answers
1k 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
2answers
658 views

Do i have to use sandbox solutions for Sharepoint Online (Office 365)?

I have been asked to create a web template for Sharepoint Online (Office 365). Does this have to be a sandboxed solution? Is there any way around this limitation?
0
votes
1answer
40 views

How to restrict sandbox web part from consuming sharepoint resources?

I have configured sandbox web part for SharePoint online site.. I have used user context to get the details from the different lists across site collection. After having 7-8 different sessions, ...
0
votes
0answers
1k views

Sandbox Event Receiver Not Working on SharePoint Online [duplicate]

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
770 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
41 views

Sandbox solution feature upgrade not working all the time

I have been using a no code sandbox solution to deploy style related assets and display templates via a site collection feature. Each time we need to update these assets I do the following: Update ...
2
votes
1answer
432 views

Sandbox solutions - Prevent auto activation of site collection features

Question: Does anyone know a way to activate a sandbox solution in SharePoint Online without having the site collection features automatically activated? Background info: I have done a bit of ...
1
vote
2answers
43 views

What are the available approaches to programmatically create site columns and content types in SharePoint 2013?

I want to create some site columns and content types programmatically, since I need to create some site columns with the same display name as existing columns, and this can not be done using the CA ...
0
votes
0answers
18 views

Custom site columns created & deployed using visual studio did not appear inside my site collection [duplicate]

I have followed the same steps mentioned inside this MSDN article for creating site columns using visual studio https://msdn.microsoft.com/en-us/library/ee231593.aspx . now inside my visual studio i ...
0
votes
2answers
81 views

Sandboxed Vs Farm solution to create site columns using visual studio

I find this article which describe how i need to create site columns programmatically using visual studio https://msdn.microsoft.com/en-us/library/ee231593.aspx. they mentioned that I should use the ...
0
votes
1answer
35 views

What determine if a farm solution need to be activated at each site collection or not

I am totally confused on how WSP files need to be deployed and activated inside SharePoint 2013.now I have the following three scenarios where i dealt with WSP files inside my SharePoint 2013 :- I ...
0
votes
0answers
25 views

Creating custom site columns using Visual studio will not show the new site columns [duplicate]

I want to create new site columns using visual studio, so i did the following steps:- create a new SharePoint 2013 empty project. i add two site columns as follow:- <?xml version="1.0" ...
0
votes
0answers
27 views

How to get installed Feature List From sites using sharepoint Sandbox Solutions?

I have Try To get all installed Feature From SP site and Web whether is Active or Deactivate Using SPFeture Class in My Sandbox Solutions but you know through this class i could get only Activated ...
0
votes
3answers
36 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?
1
vote
0answers
92 views

Sharepoint loading slow — blank visual web part — is this normal?

I'm trying to optimize an external/public Sharepoint 2013, on-prem site. Interestingly enough I've found that sandbox visual web parts drastically slow the page down. I know it's not the code in the ...
0
votes
0answers
33 views

Custom ribbon button in Project Center that opens web part page

I'm developing a SharePoint 2013 solution, that has a web part in it. I would like a custom button in the Project Center ribbon, that when clicked, would go to the web parts page (a separate page, ...
1
vote
0answers
20 views

Cannot Activate Sandbox Solution

I'm trying to activate a sandbox solution on a SharePoint site but the 'Activate' button is greyed out. I have made sure that the Sandboxed Code Service is started but it's still not enabled. What ...