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)

1
vote
0answers
13 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 ...
2
votes
1answer
436 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 ...
2
votes
3answers
1k 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 ...
0
votes
1answer
22 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
28 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
35 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 ...
1
vote
1answer
4k 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 ...
3
votes
3answers
2k views

Can not update Navigation programatically

I have following code var subWeb = newWeb.Webs.Add(subsite.Url, subsite.Title, subsite.Title, 1033, PublishTemplate, false, false); subWeb.AllowUnsafeUpdates = true; subWeb.Update(); PublishingWeb ...
0
votes
1answer
44 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 ...
3
votes
4answers
2k views

Problem debugging web part on SharePoint 2010 beta and Visual Studio 2010 beta

I have created a "Hello World" web part. When I pressed F5 in Visual Studio 2010, I got the following error. I have already got Microsoft SharePoint Foundation User Code Service started. Can anyone ...
1
vote
1answer
809 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() ...
1
vote
2answers
163 views

Only Site Collect Admin can deploy SharePoint?

I am trying to deploy a SharePoint 2010 project onto an SP server. When I hit F5 after building the solution, the output says that "Only a site collection administrator can activate or upgrade ...
0
votes
0answers
22 views

Reading/Writing to excel

I have a requirement to read/write to excel. I am aware that it can be achieved by using Sandbox solution or provider hosted app. I am trying to do this via jquery. I came across this site which looks ...
0
votes
0answers
79 views

Sandbox Code execution error

I have a problem with my SharePoint 2013 SP1 Sandboxed Solution. I can install it on the SharePoint and can activate the Solution. The Solution includes some web parts. When I add a WebPart to the ...
1
vote
0answers
507 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. ...
2
votes
0answers
36 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
179 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
2answers
38 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
0answers
11 views

Event Receiver deployed as a sandbox solution throws exceptions

I have deployed an event receiver as a sandbox solution to production. This is event receiver executes on ItemUpdated event. The code runs well in development server as a sandbox solution but throws ...
1
vote
1answer
157 views

SharePoint online solution licensing

We are working on solution which we belive could be useful for organizations using SharePoint. We designed and implemented solution so it can be used in sharepoint online. Since we want to be selling ...
1
vote
0answers
17 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
0answers
13 views

Best practice for updating site column in Sandboxed Solution

I have a production solution with site columns, content types and lists deployed with declarative xml in features. What do you think would be a best practice for updating site columns in production ...
0
votes
1answer
40 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?
0
votes
1answer
83 views

Creating sub site in feature receiver does not work always in sandbox solution

I have created a sandbox solution in which there is one feature for creating two sub-sites. In the event receiver of that feature I have created two sites programmatically. The code is as per ...
2
votes
0answers
29 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
39 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
2answers
251 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 ...
0
votes
1answer
118 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
3answers
141 views

close modal dialog in sandbox solutions

i tried to close the modal dialog in sandbox solution using the following code HttpContext context = HttpContext.Current; context.Response.Write("<script ...
0
votes
0answers
28 views

Kerberos authentication in custom webpart

I developed a custom sandbox webpart which queries a single video file and loads it in a page. The issue that I'm facing now is that Internet Explorer, Firefox and Google Chrome browsers raises the ...
0
votes
2answers
78 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 ...
0
votes
0answers
14 views

Proxy Full Trust for Sharepoint 2013 Sandbox

I have a Proxy Full Trust implementing in Sharepoint 2013 Sandbox. When I update my proxy operation class in Visual Studio and deploy to SharePoint, I never see the last changes. How can I refresh ...
1
vote
0answers
76 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
35 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 ...
9
votes
6answers
2k views

Add jQuery in Sandbox mode (Office 365)

What would be the best approach in using/including jQuery in Office 365? Should I just use google CDN or is it possible to deploy the jQuery file to the server? Is there any good articles/resources ...
0
votes
1answer
90 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
1answer
88 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, ...
0
votes
2answers
299 views

aspx page in sandboxed solution

I am working with sharepoint sandbox solution in which I have added visual webpart(sandboxed). My requirement is to add a normal .aspx page to the project and deploy to sharepoint. I have followed the ...
0
votes
0answers
9 views

How to include a 3rd party solution in a web template?

I have to create a web template (SP2013 on premise) that requires an additional WSP (CRM ListComponent - Sandboxed Solution) to be deployed and activated after site has been created to ensure that CRM ...
1
vote
1answer
90 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
198 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
32 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
24 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
188 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
36 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
74 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
20 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
202 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
130 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 ...