Questions tagged [sandbox-solution]

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

93 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
97 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 = Root....
4
votes
0answers
721 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. ...
4
votes
1answer
2k 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
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 ...
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 ...
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 ...
2
votes
0answers
57 views

SharePoint Online, Add a webpart to wiki page

I need to add a web part to an existing wiki page [Type="GhostableInLibrary"], when a feature is activated. I have tried a combination of both IgnoreIfAlreadyExists and ReplaceContent properties in ...
2
votes
0answers
446 views

Sandbox Solution failing to load

Okay I think I'm missing something when I'm trying to build an Event Receiver. I'm new to this so please excuse my ignorance. But when I try to deploy an Event Receiver I always get a Could not load ...
2
votes
0answers
882 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 (...
2
votes
0answers
377 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 ...
2
votes
0answers
40 views

convert to sandbox

How I can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as Microsoft documentation, there is a restrication on using this class in ...
2
votes
0answers
1k views

Custom form for custom list causing “A potentially dangerous Request.Path value was detected from the client (:)”

I am working on trying to convert a custom sandbox solution to work with SP2013 Online. I can get the feature to activate, and all of our lists are created. However, the custom form we use for the new,...
2
votes
0answers
564 views

Provisioning publishing pages with custom webparts in SharePoint 2013

I have a sandboxed solution where i provision publishing pages with custom web parts. Like this: <Module Name="CustomPage" Url="$Resources:cmscore,List_Pages_UrlName;" SetupPath="SiteTemplates\...
2
votes
0answers
438 views

SP2010 Custom action runs sandboxed but not as farm solution

Short version: Which changes need to be made to convert a custom workflow action, developed in VS2010, from a Sandbox to a Farm solution. Assume it is a placeholder with no logic added yet. Long ...
2
votes
0answers
521 views

Steps for troubleshooting Sandbox web part “An error occurred while attempting to add the item to the page”

I have a server which is refusing to run any Sandbox web parts with the error "An error occurred while attempting to add the item to the page" Steps already performed :- These web parts run fine on ...
2
votes
1answer
565 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 ...
2
votes
0answers
928 views

Setting rights for CustomAction. Problem with sandboxed or language?

I've got a CustomAction which contains a button. Only users with high level permissions should be able to see this button, so I tried setting the property Rights ="ManageWeb" on the CustomAction. ...
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
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 ...
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 ...
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 ...
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 ...
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 '...
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....
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 ...
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 ...
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 ...
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
0answers
32 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 ...
1
vote
0answers
193 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 ...
1
vote
2answers
104 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 UI....
1
vote
0answers
252 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 ...
1
vote
0answers
42 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 ...
1
vote
0answers
65 views

CU's cause duplicate column to be created

We have a list deployed via a sandboxed WSP in SP 2010. The list is using list fields, not content types, so they are only defined in the Schema.xml and Elements.xml for the list instance. When the ...
1
vote
0answers
148 views

How to properly increase the limit/point settings for Sandbox Solutions?

I have a SharePoint 2013 event receiver in Visual Studio. The solution does some processing of XML files (without getting in to too much detail). I am having an issue with the event receiver timing ...
1
vote
0answers
397 views

Is it possible to deploy custom workflow activities to Office 365

Is it possible to deploy SharePoint 2013 style custom workflow activities and deploy it to Office 365 environment as sandboxed solution? Or maybe, it is possible to deploy it as an app and use it in ...
1
vote
1answer
663 views

“ Exception from HRESULT: 0x8107054A ” when activating wsp on Office365 Sandbox Solution

I am uploading my wsp file and when I am trying to activate it getting this error: Exception from HRESULT: 0x8107054A TECHNICAL DETAILS Troubleshoot issues with Microsoft SharePoint ...
1
vote
1answer
1k 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
194 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 ...
1
vote
2answers
317 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 ...
1
vote
0answers
728 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 ...
1
vote
0answers
1k 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
78 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 ...
1
vote
0answers
39 views

when on click try to create subweb, it gives me error

This function works fine, SP.SOD.executeFunc('sp.js', 'SP.ClientContext', loadCurrentWeb); but when I put it in, function AddNewSubWebNow() { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
1
vote
0answers
98 views

Sandbox Logging dll won't load

I am trying to use the codeplex.spsl Sandbox Logging framework but am having trouble getting it to execute in my code. The following error occurs on the last line of the following code snippet. ...