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
2answers
443 views

How to copy one custom list to another custom list (approximately 600 items)

I have one master list from which I wish to query and create a subset of this in a new custom list. The code I have so far works, but it is extremely slow and occasionally hits the hard limit of the ...
3
votes
0answers
15 views

How to upload file in document library in sandbox solution? [duplicate]

Possible Duplicate: Upload file using sandbox solution How to upload file in document library in sandbox solution ? File upload control is not working sandbox in sandbox solution
0
votes
2answers
350 views

Pass data from client side(javascript) to server side in Sandboxed solutions

I have a sandboxed solution in which I need to pass data from javascript to server side. Can anyone suggest me with help links or any ideas?
6
votes
1answer
5k views

Programmatically find lists by template ID

I am looking for an efficient way to programmatically find all SharePoint lists with a given template / type in the current site collection from within a sandbox solution. NB: I'm obviously aware ...
2
votes
0answers
391 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 ...
1
vote
2answers
548 views

Write file to response problem

I am having trouble writing a file to the response stream (sandbox solution). The final line of this code block throws a null reference exception. HttpContext.Current.Response.Clear(); ...
1
vote
0answers
99 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 ...
2
votes
2answers
367 views

Upgradable Sandboxed solution without DLL

I have a sandboxed solution with these items: A module Elements.xml (ElementManifest) HelloWorld.txt Package MyPackage-1.0.1 A feature Scoped for site In addition the solution is set to ...
0
votes
1answer
361 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
2answers
547 views

Do i have to use sandbox solutions for Sharepoint Online (Office 365)?

I have been asked to create a web template for Sharepoint Online (Office 365). Does this have to be a sandboxed solution? Is there any way around this limitation?
0
votes
1answer
604 views

How do i add a UserControl to a VisualWebPart (sandboxed)

I have installed Visual Studio power tools so that i can add Visual Web Parts. This all works fine, i can deploy Visual Web Parts etc. I now want to create a UserControl in my solution which i can ...
1
vote
0answers
475 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
573 views

Sandboxed solutions get all sharepoint lists in sitecollection

I am working with sandboxed solutons.(VS2010 C#) I need to retrieve all lists present in the site collection. I am able to get the lists from the site but not from entire sitecollection like subsites ...
0
votes
1answer
276 views

SharePoint Sandbox 2010 on Office 365 - list workflow only start for the first 6 items after inserted programmatically

I'm inserting x numbers of items into a list programmatically. On this list I have a list-workflow which starts when an item is created. The problem is that if I insert more than 6 items at one time ...
0
votes
1answer
255 views

What is Site Content and structure in Sharepoint Online and what it is used for or how to create a site structure?

1.What is Site Content and structure in Sharepoint Online and what it is used for or how to create a site structure? Please provide me some good links or videos on activating and using it. I searched ...
0
votes
2answers
477 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/"> ...
5
votes
3answers
5k views

code behind aspx pages in sharepoint sandbox solution

I have a custom aspx page in sharepoint sandboxed solution with the content as shown below? <%@ Page Language="C#" MasterPageFile="~masterurl/default.master" ...
3
votes
3answers
2k views

Sandbox Solutions, resetting the quota

I'm looking into the possibility of developing sandbox solutions (mainly web parts) for our SharePoint 2010 internet site. One thing that I keep reading is that if the quota is exceeded, then all ...
1
vote
3answers
130 views

Solutions and Office.com

Does anyone know when/how office.com will integrate with sandbox solutions Google ...
0
votes
1answer
70 views

Sandboxed solution - Pass datafrom client side(javascript) to server side

Can anyone suggest me with different ways to passing data from client side to server side?
0
votes
2answers
416 views

sharepoint sandboxed solution make ajax post call

I have created a sandboxed solution for SharePoint 2010 which contains sandboxed visual webpart. I need to make ajax POST call and pass the entities from javascript. can you tell me how can I ...
0
votes
1answer
518 views

Custom EditorPart in sharepoint 2010 sandbox solution [duplicate]

Possible Duplicate: Custom EditorPart in SharePoint sandboxed solution Can anyone provide me help links or code samples describing how to create custom EditorPart for sharepoint. am ...
0
votes
0answers
301 views

Custom EditorPart in SharePoint sandboxed solution

I want to implement the custom EditorPart in SharePoint sandboxed solution. I have the code like below. When I deploy the solution I cannot see the textbox and I noticed that the code is not ...
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
355 views

Using XSLT in SandBox Web Part

I need to fetch data from the list (which I am getting in XML) and then I need to apply the XML data to my XSLT so that it can produce HTML output. I tried using SPUtility.GetGenericSetupPath to get ...
0
votes
2answers
703 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 ...
4
votes
3answers
3k views

How to create Visual WebPart in sandbox solution (Office 365)?

I am using SharePoint online(Office 365). for office 365 it is necessary to create sandbox solution but in sandbox solution it is not possible to create visual web part. is there any way to create ...
0
votes
1answer
766 views

How to use dll file and resource files in Sandbox Solution of SharePoint Online (Office 365)?

I am currently working with SharePoint Online(Office 365), so that i am creating the sandbox solution for creating custom web-parts. Here problem is that i want to use Ajax Control Toolkit(dll) and ...
0
votes
1answer
388 views

Sandboxed Solution to create a Document Library and enabling manual declartion as record

I need to create a SharePoint Feature, when activated needs to create a Document Library and then enable the manual declaration as record. Following is the code which is working fine in a Console ...
0
votes
1answer
669 views

How to call C# (in a .WSP web part) from Javascript (in a Content Editor web part)

I have Javascript (Client Object Model) running in a Content Editor web part that controls other web parts on the page. The JS COM is limited in what it can do, so I want to be able to call managed ...
1
vote
2answers
4k views

Provisioning a Welcome Page to Pages Library

I have a custom Web Template which enables the default features of a Publishing Site and in addition it enables custom Features e.g. WelcomePageProvisioning. It's kinda straight forward, but still I ...
3
votes
3answers
733 views

Sandboxed Solution - SPWeb Property Bag

I'm trying to create an SP2010 Sandboxed solution which involves a site collection administrator storing a piece of information in the Site collection root web property bag. I can't think of a way I ...
0
votes
6answers
7k views

SharePoint 2010 Sandboxed solution error during debugging

I'm in the process of creating a sandboxed web part, during debugging though once it is on the site the web part displays the error shown below: Web Part Error: Unhandled exception was thrown by the ...
2
votes
0answers
382 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
0answers
381 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 ...
2
votes
3answers
1k views

Sandboxed Webpart - Is it possible get the current logged in user?

Using standard windows authentication I attempting to get the identity of the logged in user so I can update a value in a list that this webpart is interacting with. I have tried: SPWeb currentWeb = ...
0
votes
2answers
320 views

Why does this work with Master Page Gallery but not Style Library

Please don't mock my code, I am just wondering why this does not work for Style Library but it works for the Master Page Gallery if (siteCollection != null) { ...
0
votes
1answer
1k views

Retrieve Title, Image and URL from a Custom List and bind to repeater control

I am doing custom visual web part(Sandboxed) developement. I am facing a little hurdle as I unable to retrieve Title, Image and URL columns from my custom list and bind it to a repeater control. Also ...
1
vote
1answer
1k views

News web part for Sharepoint 2010

I am looking to build a News web part (Sandboxed) as we can see in below link. http://timesofindia.indiatimes.com/tech/techhome/5880659.cms Requirement is, The News web part should contain a ...
1
vote
1answer
255 views

Extending Search Core Results with XSL

I'm working on a webpart that extends CoreResultsWebPart. I have create new solution and added new WebPart project into it. I got most of it working apart from XSL. I want to use this.XslLink ...
2
votes
3answers
552 views

.NET Chart Controls in Sharepoint 2010 Sandbox

I'm trying to use the .NET Chart Controls in my Sharepoint 2010 Sandbox solution. I have downloaded and installed the MSChart for .NET 3.5 from ...
0
votes
1answer
513 views

Error on UpdateWorkflowAssociationsOnChildren()

I created a sandbox solution that creates following: Site Columns Content Type with these site columns A list based on this content type Attaching a workflow to the content type and push it down to ...
1
vote
1answer
831 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 ...
3
votes
1answer
1k views

How do you clear the list schema cache for a re-deploy without rebooting the SharePoint server(s)?

In our development environments we need to re-deploy our codebase on a regular basis. We go through a deployment process where we do the following steps (all through PowerShell): Delete our old ...
0
votes
1answer
160 views

Access the selected item from Workflow within a Sandboxed solution

I am a workflow newbie so please forgive me if this is a naive question, but is there a way to programmatically get a reference to the selected item(s) of the list that initiated the workflow, in a ...
0
votes
1answer
146 views

Parsing a HTML webpage in a feature's eventreceiver (Sandbox)

I have set up a feature with an event receiver with the purpose of parsing some values from a website and adding them to a sharepoint list. The parsing code is written with the help of HTML Agility ...
1
vote
2answers
1k views

Adding button to ribbon in CommandUI.Ribbon

I'm trying to add a button to the ribbon, in the same place the default "I Like It" and "Tags & Notes" buttons are located. I the elements.xml file for this feature (SocialRibbonControl) and tried ...
1
vote
1answer
400 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
1answer
302 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 ...
7
votes
3answers
405 views

SharePoint 2010 Sandboxed solutions performance

Does code that is deployed through a Sandboxed solution perform just a well as code deployed through a Farm solution? Does the overhead that comes with interprocess communication (since Sandboxed ...