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
673 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
344 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
564 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
291 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
360 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
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 ...
3
votes
3answers
456 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
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 ...
1
vote
1answer
239 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
243 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
245 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
672 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
149 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
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
137 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
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 ...
0
votes
1answer
461 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
90 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
451 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
933 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
427 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
184 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
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 ...
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 ...
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) { ...
3
votes
3answers
1k 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 ...
1
vote
5answers
1k views

Create complete site programmatically

I want to create a complete site in Visual Studio (Sandbox solution), so it is easy to deploy (with one press on the button on site collection level) to Office 365 / SharePoint Online. I can create ...
6
votes
1answer
783 views

Recommended Visual Studio solution design for new SharePoint 2010 intranet

I'm currently working on a large SharePoint 2010 published intranet development project. The initial months of planning have been completed and we're now gearing up to commence the actual dev/build. ...
2
votes
1answer
478 views

SharePoint Online / 365 - Parse .MSG file server-side without outlook

I need to parse .msg files saved from Outlook, extract subject and attachments. Is it possible to parse msg files without a 3rd party extension in a sandboxed solution? The .msg files will be ...
4
votes
2answers
715 views

Sandbox Solution: How to use resource files in master page

When i create a sandbox solution, and i want to use resources in my code, i use sattelite assemblies. But in my masterpage it seems not to work, i get following error: Parser Error Message: The ...
0
votes
1answer
240 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 ...
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 ...
2
votes
3answers
481 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 ...
2
votes
1answer
310 views

Sandbox: Localize listInstance title

how to localize listInstance title in sandboxed solution? It is posible to add Resources.resx file to feature and localize ListDefinition: <ListTemplate Name="TagsListDefinition" ...
0
votes
2answers
3k views

ItemAdding event not firing when submitting InfoPath form to form library

I created an event receiver in Visual Studio to handle three events in a form library: ItemAdding, ItemUpdating, and ItemDeleting. ItemUpdating and ItemDeleting work as expected when debugging, but ...
0
votes
2answers
311 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
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 ...
3
votes
1answer
2k views

Is it possible to get detailed error messages in SharePoint Online?

When doing any sort of development/testing work against SharePoint Online, there are bound to be some errors. Some errors manifest in the form of exceptions, which can be logged to a special-purpose ...
0
votes
1answer
311 views

List item field values incorrect in AllItems view, but correct in detail view

I've created a custom content type and a list definition and list instance based on it. In a web part, I add an SPListItem to the list, set its field values, and then call item.Update(). However, ...
2
votes
1answer
814 views

Feature activation suceeds in sandboxed server environment, but fails in SharePoint Online. How do I find what's wrong?

I am currently developing a solution in C# with a feature that uses the SharePoint API to create a number of sites, lists, list views etc. The final result is going to be used on SharePoint Online. ...
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
1answer
222 views

Install sandbox solution to SPWeb

I need to install a sandboxed solution to my site (SPWeb). However I am not a site collection administrator, and therefore cannot access the solution gallery that exists at the site collection level. ...
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 ...
1
vote
2answers
3k 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 ...