Questions tagged [sandbox-solution]

A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way

Filter by
Sorted by
Tagged with
1
vote
1answer
23 views

Deploying Event Reciever

I Know that event receiver should be deployed as a sandbox solution. But what if I deploy it as a farm solution. Is there any negative impact or not.
1
vote
0answers
30 views

Sandbox service permissions required to activate a solution on an RBS enabled database

We have a Remote Blob Storage (RBS) enabled database. When trying to activate the CRMListComponent sandbox solution, an error occured: UserCodeExecutionProxy call pipeline failed with execution. ...
1
vote
1answer
33 views

How can I have 2 versions of the same .wsp activated on SharePoint 2016

Scenario: SharePoint 2016 MinRole Farm with 1 FE with Distributed Cache and 1 App with Search. Dev and Prod farms with the same specs. Steps in Test Farm: Create a site using activated custom ...
2
votes
1answer
112 views

Activate command disabled in Solutions Gallery

Scenario: SharePoint 2016 MinRole Farm with 2 Servers. I tried starting Microsoft SharePoint Foundation Sandboxed Code Service in one and in both servers as I found this: Can't Activate Solution ...
2
votes
1answer
20 views

Unsandboxing a solution gives a Web Part Error

I'm extremely new to SharePoint and most definitely not our company's SharePoint dev. They set me up with a WebPart and its project where I can write some code. The page was working perfectly fine ...
1
vote
0answers
17 views

SandBoxed Solution - Assembly Missing

We have a sandboxed solution on a site collection. It is activated, and it has a custom assembly. This assembly is inside "C:\ProgramData\Microsoft\SharePoint\UCCache" as described in the ...
0
votes
1answer
43 views

SharePoint 2013 vs. SharePoint for O365

I would like to do self-paced SP2013 training and eventually development at home using my own SP2013 sandbox (S-Server or Foundation), as I don't want to interfere with the production environment at ...
0
votes
1answer
25 views

Fail to run sharepoint 2010 workflow with custom action

I have a workflow custom action which deployed as sandboxes solution. However, when i trying to start this workflow, the error message appears.
1
vote
0answers
17 views

Cannot select the sandbox cube from a PowerPivot workbook as a data source for PerformancePoint

I have a bi site in SharePoint that has a PowerPivot workbook with a data model. I have obtained the connection string and trying to add a data source but after I enter the connection string the ...
3
votes
1answer
93 views

Future of Farm Solutions for Sharepoint

As per the new MS article about phasing out of SandBox solution and moving on to APP only solution, what is the future of Farm solution. As per the below article - https://technet.microsoft.com/en-...
1
vote
0answers
17 views

Can't get sandboxed 2013 web part to emit client side JS for validation

I am developing a sandboxed feature for 2013 that includes several custom aspx pages, each with its own sandboxed web part through the SPUserCodeWebPart control. This project has had a long and ...
0
votes
2answers
99 views

SharePoint Sandbox solution on subsite

I try add sandbox solution to SharePoint 2013 on subsite with event reciver on list, and don't work ;( On Root Web is O.K. event fired and do something what I wont, but when I activate feature on ...
0
votes
1answer
235 views

SharePoint Online “Delegate Control” Implementations

Are sandboxed solution custom actions and javascript the best way to replicate the old on-prem functionality of delegate controls? I know sandboxed solutions with code aren't a possibility in SPO ...
3
votes
0answers
178 views

Why should we set Scope to 'Web Application' in Timer Job?

Though we are activating feature from web application still web(sub site) or site collection comes under the Web Application scope , what is specific reason to select scope as "Web Application" Thanks....
3
votes
1answer
51 views

Add list item from web part programmaticaly

I want to prevent users from accessing a list, but to allow them to use web part programmed in C# to add items to the list. I tried impersonation and RunWithElevatedPriviliges but these are available ...
1
vote
1answer
25 views

Create Custom Control in SharePoint Sandbox

I came across to a requirement to create User Control via sandbox. I had done it previously using FARM solution. But finding no way to do it with sandbox. Can any one help and guide me how can I ...
1
vote
2answers
154 views

Transferring site content from Sandbox to Production

So I have been tasked with taking an existing Sandboxed Sharepoint (2013) that my company uses, and transferring all the content to a Production Sharepoint (2013). I'm trying to read into it, but I ...
2
votes
2answers
79 views

Sandbox, does FeatureReceiver work in Office365?

Sandbox with code are disabled in SharePoint Online. Does it mean that I cannot use Feature Receivers? I have a sandbox solution with reciever, it works ok but if I check "Include assembly in ...
1
vote
2answers
546 views

Faster way to get distinct field values?

I have a web part, and I am trying to populate a drop-down control with the unique/distinct values from a particular field in a list. Unfortunately, due to the nature of the system, it is a text ...
1
vote
1answer
236 views

Retrieve a SPFolderCollection class in descending order

I have a Sandbox webpart which retrieves a collection of Folders in a Library. The library contains the following sample data: | Name | Created | ------------------------------- | ...
5
votes
1answer
214 views

How do I migrate a SandBox solution into a SharePoint App?

Microsoft appears to be removing code-based sandbox solutions in SharePoint online. I have been using an on-premise SharePoint Enterprise solution since 2012 that included a code-based .wsp sandbox ...
1
vote
0answers
34 views

.aspx page deployed to library through module does not pull masterpage

I am trying to deploy a "plain" .aspx page (no code-behind) to a library in a SharePoint site using a module (web scoped feature). I don't even really need an .aspx page, all I really need is an HTML ...
1
vote
0answers
124 views

Unable to find SPUCWorkerProcess.exe while debugging Sandbox Solution

I am creating Sandbox solution to attach Event Receiver to Form Library.I want to debug the solution but it is giving me error Unable to attach process 'SPUCWorkerProcess.exe' is not running on '...
4
votes
3answers
2k views

Unable to activate wsp in Office 365

Today my Office 365 account is behaving strangely. Yesterday I was able to activate my wsp solution using activate button from the ribbon in solutions gallery. Today I can not activate my wsp ...
1
vote
1answer
936 views

Visual studio 2015 Visual Webpart sandboxed

I want to create a visual webpart sandbox solution, I found this tool: " Visual Studio 2010 SharePoint Power Tools" who don't work with Visual studio 2015. Do you have an idea, which tool should I ...
1
vote
2answers
37 views

Where are Sandboxed solutions being used?

Within many of our SharePoint 2010 Site Collections, we have the Solution Gallery. Within these Solution Galleries, there exists Sandboxed solutions that are active and used with each Site Collection....
0
votes
2answers
3k views

Sharepoint 2013 - video and image responsive carousel

I am looking for some advice on a solution for a media carousel that is responsive and will hold and display video and images. I have looked at various solutions over the web but they seem to fall ...
0
votes
2answers
167 views

Download documents in a zip from a page using in SharePoint online

I have created a product page in SharePoint Online Pages Library. It has some standard field, e-g Title and Comments. It also has a Content Query WebPart that displays a list of linked files stored in ...
2
votes
1answer
628 views

Remove sandbox solution from SharePoint online

I am working with Custom Ribbon Item development in SharePoint Online, i have created a custom sandbox solution and deployed on my SharePoint Online site. Once i activated the solution my site has ...
1
vote
0answers
227 views

Remove default hyperlink from Title in SharePoint 2013 Calendar List

I want to remove default hyperlink from Title in SharePoint 2013 Calendar List and want to set custom link in Title. How can I perform this programatically in sandbox solution? Thanks.
1
vote
0answers
114 views

Sharepoint SandBox Solution is not Working in SharePoint online (Custom action)

I have created a sandbox solution in sharepoint 2013.I have added Custom action and Visual web part in to the solution. Custom Action Code as following : <?xml version="1.0" encoding="utf-8"?> ...
1
vote
0answers
79 views

Office 365 - Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain

In Office 365 environment, I have received the below error while submitting the form which was developed by Sandboxed Solution. Web Part Error : Unhandled exception was thrown by the sandboxed code ...
2
votes
1answer
203 views

Security exception when trying to use JavaScriptSerializer

I am trying to use the JavaScriptSerializer class in an event receiver which is part of a sandbox solution. When trying to use the class, I get a System.MethodAccessException with the following ...
1
vote
1answer
4k views

Programmatically read Excel file in SharePoint 2013 sandbox solution gives permission error

SharePoint 2013 server, I'm site collection administrator. I've copied an Excel file into documentlibrary, I like to read the excel file and update custom list with the Excel values. I've got the ...
0
votes
0answers
43 views

Office 365 call site event Receiver but did not work event Receiver

Office 365 Solutions upload then site event Receiver call & Feature activated, did not work Event Receiver.. Below Code And Error Image Code For Site EventReceiver public class ...
1
vote
1answer
96 views

SharePoint Online: Sandboxed Web Part vs App

I have a requirement to have some custom functionality within my SharePoint Online page. I am currently considering an app or a sanboxed web part. Here are my notes so far: sandboxed web part on-...
6
votes
1answer
297 views

Can i create site columns, content types by publishing a sharepoint-hosted APP

I am working on SharePoint 2013 server and I like the idea of creating site columns & content types using visual studio as this allow me to easily manage the artifacts among my different farms, ...
0
votes
2answers
243 views

Provision property bag for document library declaratively via sandbox

I have a no-code sandbox solution that I use to provision artefacts. One is a document library to which I want to attach a property bag to be set by a user via custom setting page. I learned that one ...
0
votes
1answer
20 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
545 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 = ...
3
votes
3answers
965 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
78 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 ...
4
votes
1answer
93 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 ...
0
votes
1answer
267 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) "tesseract.net....
0
votes
1answer
209 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 ...
1
vote
0answers
748 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 test ...
2
votes
0answers
100 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 ...
1
vote
0answers
51 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
2answers
396 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 feature ...