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)

3
votes
3answers
2k views

Dynamically registering JavaScript from within a sandbox web part

I am mid-way through development of a corporate intranet that will be hosted in SharePoint Online. For this reason, we are restricted to using sandbox solutions. One of the last "gotchas" that I need ...
0
votes
1answer
747 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 ...
1
vote
4answers
979 views

Sandboxed solution -get SharePoint lists programmatically

I am using the below code for retrieving all sharepoint lists from a site. SPSite site = new SPSite("http://servername:port"); SPWeb web = site.OpenWeb(); SPListCollection SPlists = web.Lists; ...
2
votes
2answers
1k views

Custom Content Query Web Part in a Sandbox Solution

I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...
1
vote
2answers
927 views

(Sandbox solution) Ensure my javascript file is loaded after core.js

Using a CustomAction in the location of a scriptlink, I'm inserting a javascript code, however I need this code to run after core.js runs. Does anyone know how I can achieve this? My CustomAction ...
8
votes
3answers
375 views

How to programatically determine if you are running in on premise Sandbox or SharePoint Online

How could you programatically determine if code is running in an on-premise Sandbox model or SharePoint Online sandbox?
0
votes
2answers
429 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
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?
5
votes
3answers
4k 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" ...
0
votes
1answer
299 views

SandBox Visual Web Part with Power Tools issue with ExchangeService

I am trying to make Sandbox Visual Web Part using Power Tools. It has given me below error Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the ...
0
votes
1answer
257 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
2answers
320 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?
0
votes
1answer
783 views

Sandboxed code execution request failed in Web Part with no Exception thrown

So I'm working on a web part for a client of mine targeting SharePoint Online, and I've run into a brick wall that I've been banging my head against for the last few hours. The web part executes a ...
0
votes
2answers
380 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
498 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
288 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
1answer
338 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 ...
4
votes
1answer
326 views

Use AjaxControlToolKit in Sharepoint Online

I use following link for reference : http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/thread/c995bcf6-b8c7-46de-af27-f54bc8d6e182#2b0f9864-fb6f-4ad2-aef4-1e51d41dfb60 But From ...
1
vote
1answer
593 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 ...
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 ...
2
votes
1answer
715 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
370 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
628 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 ...
2
votes
2answers
327 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
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!
2
votes
0answers
370 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
364 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 ...
3
votes
3answers
503 views

“Service too busy” exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver

The title says it all... I am trying to programmatically activate some sandbox features (from within a feature reciver that is also part of the sandbox solution). And whilst the features without ...
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 ...
0
votes
2answers
657 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 ...
1
vote
1answer
251 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 ...
0
votes
3answers
255 views

Creating public properties in sandboxed webpart solutions

I'm trying to port a farm solution to a sandboxed one, and I can't figure out how to port this piece of code: [ToolboxItem(false)] public partial class vClockPartSB : ...
0
votes
1answer
262 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 ...
1
vote
1answer
756 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 ...
0
votes
1answer
153 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
349 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
141 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
1answer
285 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 ...
0
votes
1answer
495 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 ...
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 = ...
2
votes
0answers
99 views

Not able to activate solution in Records Center site

I provisioned a Records Center site and uploaded a custom sandboxed solution (WSP) to it. I am able to upload the solution, but not activate it. This is in a SharePoint Online environment, but I ...
0
votes
3answers
484 views

Word services - how to use?

I have question - how can I use Word services? And how I can use Word automatically converse to PDF file?
3
votes
1answer
996 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 ...
3
votes
1answer
486 views

Sandbox User Code Service and low performance

I'm looking into a case where all sandboxed solutions runs terrible, not only slow, but they use abnormally a lot of resource points too. Its not a large farm, 3 server + sql. All running on HyperV. ...
1
vote
1answer
2k views

SandBox Solutions Deployment of WSP to Solution Gallery : Beginner Questions

I am a beginner to SP Dev, and I have been reading a few things about Sandbox Solutions and the limitations there. Also it seems that to deploy a solution, I can simply upload a wsp to the solution ...
1
vote
1answer
189 views

Creating a Sandbox Compatible WebPart that extends Rss webpart functionality?

I'm trying to create a web part that can pull in twitter feeds on a sandbox site. Since sandbox webparts cannot make cross domain calls, I thought that I could use an old trick I enjoyed, which was ...
1
vote
1answer
378 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 ...
2
votes
2answers
1k views

file upload in sharepoint sandboxed solution

I need help regarding file uploading in sandboxed solution. In a thread in this portal somebody gave the following link as a solution to this problem: ...
3
votes
2answers
1k views

Unable to delete List during solution deactivate

I have two list that I need to delete when a solution is deactivated and removed. But my code doesn't seems to be working. I am trying to delete and remove the quicklinks to the lists in ...