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)

2
votes
1answer
438 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
48 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
19 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
107 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
41 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
26 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
31 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
37 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
109 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
38 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 ...
1
vote
0answers
23 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
151 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
70 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
181 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 ...
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
201 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
2answers
300 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
61 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 ...
1
vote
0answers
894 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
38 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
370 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
117 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
24 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
186 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
48 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
1answer
70 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?
2
votes
0answers
36 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
117 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
855 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
278 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
185 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
2answers
198 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
237 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
77 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 ...
10
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
193 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
276 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
356 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 ...
1
vote
1answer
263 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
321 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
83 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. ...
7
votes
5answers
8k 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
450 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
43 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
117 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
108 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
371 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
218 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 ...