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
19 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
82 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 ...
1
vote
1answer
334 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
0answers
26 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
24 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. ...
1
vote
1answer
216 views

How to get url of file after uploading to document library?

How do you return the URL of a file after it has been uploaded to a document library, using the default upload page? Returning the text from the "inputFile" textbox from the upload.aspx page would ...
1
vote
1answer
235 views

Read items from External list in Sandbox Solution

Can we read an external content type using a sandbox solution for share point online? If anyone has faced this issue then please share how is it possible. Thanks
1
vote
0answers
107 views

Will there be many sandbox related questions on certification 70-488?

According to this Microsoft article on the 70-488 certification test for SharePoint 2013 there will be several question regarding the creation of sandbox solutions, despite the (still debated) ...
1
vote
0answers
108 views

VS 2013 not deploying silverlight solution in sandboxed on stand alone dev: SPUCWorkerProcess not running error

I have a stand alone machine with SP2010 set up on Windows Server 2008 R2. Office, SPD, VS2013, Expression, etc. There is no AD or anything as it is stand alone installation using local accounts and ...
1
vote
1answer
184 views

Is it possible to read an excel file through code in a sandbox solution - SharePoint Online

On a SharePoint Online environment, I have an Infopath based list with Attachment enabled. When an excel file is attached during a new item creation on this list, I want to have an event receiver that ...
1
vote
0answers
197 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;" ...
1
vote
1answer
235 views

Setting the value of a sandbox web part's custom properties in .webpart file

I've created a new web part in a sandbox solution. This web part has a custom string property called 'PetName'. I'd expect to be able to set the initial value of this property in the .webpart file. ...
1
vote
1answer
201 views

Sandbox: can I get an html list item to Run in iframe?

I guess the real question is can I get rid of these lines in Response Header: X-Download-Options: noopen and Content-Disposition: attachment; filename=... so I can actually see an HTML ...
1
vote
1answer
225 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 ...
1
vote
0answers
205 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 ...
1
vote
1answer
109 views

Adding EventRecevier in SandBox Sharepoint2010

This is Sample of my Code SPList list = new SPSite(siteURL).OpenWeb().Lists[listName]; SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers; SPEventReceiverDefinition ...
1
vote
1answer
437 views

How to access AD users in SharePoint 2010 Sandboxed solution?

I am running with an issue to accessing AD users in Sandbox solution. Can anyone has idea how to do that. I know how to do in normal SharePoint 2010 solution. But I am not able to do in the same ...
1
vote
0answers
92 views

Ajax Call in sandbox Solution

How to make an ajax call in sharepoint sandbox solution. I have created a web part. In that web part I have created a multiple hyperlinks and grid view so when user clicks on link gridview should be ...
1
vote
1answer
544 views

How to update Excel Sheet In SharePoint 2010 (Sharepoint Online)?

I am working with SharePoint Online(Office 365). I have some Excel files uploaded in a SharePoint library and I need to update one of the file data using c# code. My solution in Sandbox solution. I ...
1
vote
0answers
338 views

Custom SiteMapProvider in Sandbox Solution

I'm creating a custom "mega menu" web part to replace the default SharePoint global navigation menu. This web part will be deployed to SharePoint Online (i.e. Office 365) so has to be a sandbox ...
1
vote
1answer
673 views

Compiling code against the Microsoft SharePoint 2010 sandbox assembly

Some Background I am working on a large project that is going to be deployed to SharePoint Online (i.e. Office 365), so all of my SharePoint projects have to be created as sandbox solutions. As part ...
1
vote
1answer
251 views

Adding and referencing an additional assembly in sandboxed solution

I'm writing a feature to my sandboxed web part with an event receiver that would parse a html website and add the results to a sharepoint list. The thing is I'll need to use the HTML Agility Pack and ...
1
vote
1answer
353 views

Sandbox timeout on ItemAdded receiver

I'm currently working on a solution which has to work in the Office365 SharePoint Online environment. Being Sandboxed, I'm running into problems with my code which is working fine on my local ...
1
vote
2answers
129 views

Resource Usage Column for Sandbox Solutions solutions

I'm working in a sandbox solution and I have a solution uploaded to a site collection. In that _catalogs/solution/ folder there is a column called Resource Usage. I know from MSDN that each "point" ...
1
vote
0answers
421 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
0answers
381 views

Content Types not visible under New Button

I have a Sandboxed Custom Action for SharePoint Designer that can add Content Types to Document Libraries. The problem is that it does not automatically add it under the "New Document". It's not ...
1
vote
1answer
675 views

Create Subsite Time out

I am trying to create a custom workflow activity to create a subsite as a sandboxed solution. I know the site creation works, but the workflow throws a time out error (the site creation finishes after ...
1
vote
1answer
396 views

Can't deactivate a user solution without breaking the site

[Edit] Rewrote the question, as there are simpler ways to reproduce the problem. [/Edit] I have built a reusable workflow with SharePoint Designer 2010. I saved the workflow as template, grab the ...
1
vote
0answers
398 views

troubles with a custom SPD activity in sandboxed solution

I want to build a custom activity for SPD 2010 that can extract the full url of a workflow task. I did not found something like this OOB. Did I missed something ? I wrote the following code : ...
1
vote
0answers
691 views

Deploying InfoPath 2010 browser enabled forms as Sandbox solutions using WSP

Is there a way through which I can deploy a InfoPath browser enabled form with code behind as a Sandbox solution via WSP? I tried something around the approach we used to follow for deploying ...
0
votes
2answers
498 views

Error Handling Strategy for Sandboxed SharePoint Solutions

I am looking to develop an error handling strategy for a SharePoint solution that makes use of sandboxed webparts. I was initially looking at a general exception handling approach based on this ...
0
votes
1answer
57 views

Create subsite in another site collection using event recievers

I am trying to create a subsite in another site collection using an event receiver on a list from current site collection. How do I do that? I have tried getting the context of the target site ...
0
votes
1answer
694 views

Error while creating Event Receiver

This is Sample of my Code SPList list = new SPSite(siteURL).OpenWeb().Lists[listName]; SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers; SPEventReceiverDefinition ...
0
votes
4answers
1k views

Where to deploy scripts in a sandbox solution?

I have a webpart deployed as a sandbox solution. The webpart has resource files, javascript files, css styles, and images. Where would I deploy all these in a sandbox solution (Office 365)? Thanks!
0
votes
1answer
538 views

Localize a sandboxed visual webpart

I am trying to localize a sandboxed visual webpart (part of the SP2010 development powertools released by MS), but as soon as I add <%$Resources:RESXFILE,RESOURCEKEY%> to for instance a ...
0
votes
1answer
710 views

How to deploy a Custom Page in a SP 2013 SandBox solution?

Is it possible to deploy a custom WebPage in a SP 2013 SandBox Solution?
0
votes
2answers
392 views

How to make SharePoint Online to update files inside modules

We have deployed solution to SharePoint Online with following elements.xml file: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
0
votes
2answers
607 views

referencing jquery in a sandboxed solution

I have a sandboxed sharepoint project, in which I have created a module, put jQuery there and referenced it from my webpart's ascx page like this: <head> <script ...
0
votes
3answers
85 views

Looping through Array dynamically in a Sandbox Solution

I have the following code string[] listArray = new string[] {"some list", "Some other list"} foreach (string s in listArray) { SPList listName = rootWeb.Lists[s]; } Ok that should be enough to see ...
0
votes
2answers
64 views

Add file to subsite with C# knowing only URL?

I would like to use C# to add a file to a library in a subsite. I believe SPWeb will only reference the site I am on. In an ItemAdded eventreceiver, I want to use something like SPFolder ...
0
votes
2answers
87 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
3answers
270 views

Sandboxed Solution doesn't work on production server

I am new to SharePoint development and recently get stucked by a problem of deploying own Sandboxed Solution that do a event receiver job (ItemAdded). It create a subfolders in top folder in a ...
0
votes
1answer
645 views

Programatically adding webparts to a page in sandbox

I've successfully implemented code to add web parts to web part zones in code using WebPartManager's in other projects. Now that I'm working in a sandbox solution, VS can't seem to recognise ...
0
votes
2answers
2k views

How to add .aspx page to Module in Sandbox solution?

When I am adding any application page(.aspx) to my Module in the Visual Studio Project of SandBox Solution, it is always adding that page in Layouts(Mapped) folder. And not adding that page in the ...
0
votes
1answer
127 views

Same code in Sandbox solution generates error

I am using following code in a Web Part to read Rss (atom). Same Web Part works in Farm Solution but generates error (don't know what) in a Sandbox solution. WebClient wc = new WebClient(); ...
0
votes
1answer
336 views

Image Carousel Sandboxed webpart

So, I have made a lot of search and found out a lot of examples! but there is no definite example and nothing helps. I am trying to implement a sandboxed webpart which acts a image carousel. The ...
0
votes
1answer
476 views

using TaxonomySession from SharePoint web part and visual web part

Can TaxonomySession be used at SharePoint visual web part and web part on sandbox? I tested a simple code as following, protected void Page_Load(object sender, EventArgs e) { ...
0
votes
3answers
3k views

Register and run javascript on load in a sandboxed webpart

Got a placed called 'SiteAssets/test.js' with the function test(). I've created a nonvisual webpart, would like the script via the cs file and then run the function during the loading of the webpart. ...
0
votes
2answers
2k views

Multiple spucworkerprocessproxy.exe

Why multiple spucworkerprocessproxy.exe processes shows up when I even have one sandboxed solution deployed? Sharepoint 2010 User Code Host Service kills all spucworkerprocessproxy processes, when ...
0
votes
2answers
17 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 ...