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
0answers
33 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 ...
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....
0
votes
0answers
50 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
1answer
232 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
56 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 ...
0
votes
1answer
77 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
566 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 issue)...
0
votes
1answer
2k 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
1answer
521 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
1answer
83 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, ...
1
vote
0answers
194 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....
0
votes
2answers
220 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
80 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 ...
1
vote
0answers
254 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
81 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 ...
0
votes
1answer
412 views

How can I capture a button click event on a dynamically created button?

I am trying to use the method described here to emulate an application page in a sandbox solution. The basic premise is to create a web part, and deploy a web part page that has that web part already ...
2
votes
1answer
158 views

Branding Solution > Sandbox? App? for Farm

We have a branding vendor that is doing branding for the homepage (markup, script/schema). She suggested no-code sandboxed solutions (NCSSs) to deploy branding artifacts. We are on prem SP 2013 with ...
0
votes
1answer
470 views

SharePoint sandboxed solution call javascript function from back end

I have created a sandboxed solution for SharePoint 2013 which contains sandboxed visual webpart. I need to call JavaScript function from back end. How can I accomplish this requirement? How can we ...
1
vote
0answers
151 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 ...
0
votes
2answers
282 views

Need privileges to break inheritance

Idea is that inside an ItemAdded event receiver in a sandboxed solution (SharePoint Online) I want to set permissions on the item, which requires privileges that the user should not have on the list. ...
0
votes
1answer
514 views

No-Code Sandbox solutions NCSS template for visual studio

I working on an solution for SharePoint Online, and would like to be able to not have a virtual machine for developing the NCSS parts of the project. But with the Visual Studio template I would have ...
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 ...
1
vote
0answers
398 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 ...
0
votes
2answers
399 views

Add Link to the Quick Launch Navigation while deploying a webpart page in the module

I like to add a navigation link under the quick launch left nav bar when a module deploys a webpart page as a file element in the feature. Is there a declarative way or do I go with feature event ...
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 ...
0
votes
1answer
221 views

EventReciever as SandBox Solution

I am having an Event receiver as sandbox solution to perform certain action on item Added to the list. Basically it is creating a sub-site on item added using custom template. Problem i am facing is ...
0
votes
1answer
374 views

Page.IsPostBack is always returning false in Sharepoint Sandboxed Solutions

I've a webpart with a single asp:button, I've noticed that the Page.IsPostBack is not changing its state even though the user click on the button. Also,I got an error when trying to using something ...
1
vote
2answers
2k views

Change Document Library Webpart's Toolbar Type to 'Show Toolbar' programmatically in 'sharepoint online sandbox solution'

I want to change the Document Library's webpart property 'Toolbar Type' from 'Full Toolbar' to 'Show Toolbar' programmatically. I am working on Office 365 sandbox solution.I am creating document ...
1
vote
1answer
668 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 ...
0
votes
1answer
121 views

How to create DocumentSet in SandBoxed Solution?

Unfortunately method DocumentSet.Create is not allowed in Sandbox. Is there any other way to do that?
1
vote
1answer
619 views

Referencing JS and CSS in sandbox web parts error

I am trying to reference JS and CSS files in sandbox web part, but once I try to deploy it gives me this error: The expression prefix 'SPUrl' was not recognized. Please correct the prefix or ...
2
votes
1answer
435 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
251 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. ...
2
votes
1answer
993 views

Custom List inheriting wrong content type

I have created a sandbox solution with 2 custom lists, each with their own custom content type. When I deploy & activate the solution on my local environment and then activate the schema feature, ...
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 ...
2
votes
1answer
54 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 KeywordQuery(proxy)...
1
vote
1answer
195 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
331 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
767 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
309 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
7k 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
381 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
495 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
2answers
318 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
1answer
2k 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
729 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
884 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
211 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 ...