0
votes
1answer
56 views

Apply Custom Master Page Only to New Subsite

I'm using Microsoft's Deploying Branding Solutions for SharePoint 2010 Sites using Sandboxed Solutions sample solution to start. I just want to: Create a subsite Apply custom master page only to the ...
0
votes
2answers
60 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
1answer
159 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
1answer
613 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 ...
2
votes
1answer
124 views

Programmatically removing web parts in a sandbox solution? (Sharepoint 2010)

I had a problem with web parts being duplicated whenever their feature was reactivated, so I made a question about that. It was answered (and correctly so, I think) - I have to programmatically ...
1
vote
2answers
402 views

Can a sandboxed WebPart access SPWeb.AllProperties

Well, subject says it all. Although MSDN has plenty of info what classes are accessible in a sandboxed solution I just couldn't find the info if I can read or write to SPWeb.AllProperties. Basically ...
2
votes
1answer
236 views

rootFolder.ContentTypeOrder throws unexpected error for sandbox solution

I'm trying to add content types into a library list, in order to make "Visible on New" option ticked. Firstly I enabled contenttypes in the library, then I want to do this: SPFolder rootFolder = ...
1
vote
2answers
257 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 ...
1
vote
1answer
130 views

How to fake Manifest.xml for WSP builder solution

I know WSP builder creates manifest at run time and then deletes it but can I fake it somehow to add few safe controls (I know other ways but I want to know if I can do it this way or not)
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 ...
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 ...
5
votes
1answer
113 views

SharePoint library, targeting both sandboxed and farm solutions?

I'm planning to build a shared librarie toolbox for my customer. The idea is to factorize reusable code in a single utility framework. Some of the classes can run on Sandboxed solution, other ...
1
vote
0answers
367 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 ...
0
votes
1answer
184 views

Right Management

I'm planing a sharepoint application. One part of the solution should be a list. Each list item should have two persons who are allowed to make changes on it (plus two Administratorgroups). The ...
1
vote
1answer
108 views

Input Rich HTML in a Sandboxed Visual Web Part

I'm trying to build a styled web part for adding list items to a list, and I cannot for the life of me find a good control for adding a Rich HTML editor. Has anyone come across this before?
5
votes
3answers
1k views

How do I find out what's wrong with my sandboxed solution in SharePoint Online?

I have created a custom web part which presents a form to create a SharePoint site below the current site, while performing some ancillary actions like updating a list of subsites on the front page to ...
7
votes
1answer
417 views

Compressing Files in a Document Library with Server-side Code

Anyone know of a way, that within the context of server-side code (like in the callback of a WebPart) to compress a set of given files in a document library, placing the resulting compressed file back ...