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)

0
votes
1answer
511 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
2k 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
833 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
539 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
756 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
247 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
538 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
333 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
318 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
86 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
3k 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
343 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
868 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
135 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
223 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
540 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
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 ...
1
vote
0answers
482 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. ...
0
votes
1answer
555 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 ...
3
votes
2answers
2k views

Page.ClientScript.RegisterClientScriptInclude in Sandbox?

I'm trying to use jQuery in a Sandboxed Visual WebPart (2010): protected void Page_Load(object sender, EventArgs e) { string jQuerySrc = Page.ClientScript.GetWebResourceUrl(this.GetType(), ...
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. ...
1
vote
3answers
2k views

Find out Site Template ID without powershell

Is it possible to find out the ID of a custom site template without using powershell? Using Sharepoint 2010 project in office 365 and I do not have access to the server. Found a blog post claimining ...
5
votes
1answer
114 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 ...
3
votes
2answers
389 views

Sandbox solution deploys , leaves xsl file in a checked out state

I have a sandbox solution that deploys an xsl file to the styles library. The solution is scoped to the web and what happens is when the solution is deployed, the xsl file is stilled checked. Now I ...
2
votes
3answers
2k views

Sandbox Content Type and Resource (RESX) File

I have a simple Sandbox Solution with a Content Type in it. The Content Type simply inherits from the Item content type. It adds no additional fields to it. I've added a Feature Resource file to my ...
3
votes
1answer
428 views

Creating a custom Filter Webpart in SandBox? How-To?

Since a little while now I've been trying to create a custom filter webpart in Sandbox. So far, it seems that all the usual ways to create a custom filter webpart programatically ina farm solution are ...
1
vote
0answers
428 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 ...
2
votes
1answer
637 views

How to find the localized name of the Web Part Gallery

I have learned (still a SP-Noob...) that I have to take care of removing webParts that I deployed as part fo a solution myself. Now I have coded something like string file = "MyWebPart.webpart"; ...
0
votes
1answer
278 views

How to remove xap file on uninstallation of sandboxed solution

I have built a simple Silverlight control and a WebPart to go with it. This is my first SharePoint project and I was very confused most of the time (I.e. I am a Sharepoint noob) :-) The Silverlight ...
2
votes
1answer
1k views

Add choice to SPFieldChoice from an Eventreceiver in sandboxed

I am trying to make a sandboxed solution that adds a couple of itemeventreceivers to a list, that add the items to the choices of a choicefield. The result would be something like a lookup field, ...
1
vote
3answers
900 views

Debugging feature activation in SharePoint Online

I'm working on a sandboxed solution which consists of two features. Locally, I've developed and tested my solution. On my development machine, I can properly deploy my solution to the sandbox, ...
0
votes
2answers
1k views

SharePoint sandboxed visual web part not loading on a button click event in BPOS D environment

I have a web part with around 700+ controls (text boxes and text areas). There are two buttons Save and Submit. Save and Submit will save the data from the list to the associated lists using CAML ...
0
votes
1answer
2k views

Add HTML link tag with dynamic SRC attribute to masterpage HEAD section

I need to add a <link> tag with a dynamic src attribute to a custom masterpage <head> section pointing to a current SPWeb library like this: <link rel="alternate" ...
3
votes
1answer
1k views

~site / ~siteCollection token replacement with sandboxed solutions

It seems you cannot use the ~site or ~siteCollection tokens in an Element.xml when you deploy as a Sandboxed Solution. Has anyone ever seen this behaviour? Code snippet: ...
0
votes
1answer
188 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
736 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 ...
7
votes
5answers
2k views

Add jQuery in Sandbox mode (Office 365)

What would be the best approach in using/including jQuery in Office 365? Should I just use google CDN or is it possible to deploy the jQuery file to the server? Is there any good articles/resources ...
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 ...
1
vote
1answer
664 views

crmlistcomponent won't activate with Service Pack 1

I recently had the task of standing up a new SharePoint 2010 Foundation server to use with the Microsoft Dynamics CRM 2011 List Component. I stood up the server, installed SharePoint Foundation and ...
2
votes
1answer
230 views

Sandbox + Custom Site Page Template + SPFile.CustomizedPageStatus

Have created a Site Page Template and provisioned an instance into my Team Site's Wiki Library. <Module Name="CustomInFeature" Path="SitePageTemplates" List="119" Url="SitePages" > ...
5
votes
2answers
2k views

Sandbox Webpart Web Requests: System.Security.SecurityException

I need a custom web part that aggregates list data across web applications. I would like to keep it sandboxed if at all possible. I first tried to use the out of the box SharePoint web services ...
2
votes
0answers
381 views

Handling upgrades for sandboxed solutions [closed]

I've been messing around with sandboxed solutions in SharePoint Online for a bit now. I have a few concerns about development, and especially maintenance. In on premise environments I was used to ...
6
votes
3answers
825 views

How to create a sandboxed workflow action within Microsoft SharePoint Online 365

I have followed the steps on http://msdn.microsoft.com/en-us/library/ff798499.aspx in order to create a custom sandboxed workflow action, and have deployed this into a site workflow in Microsoft ...
2
votes
1answer
216 views

Sandboxed solution; social tags?

I want to create a webpart to retrieve some of the social tags a user has used. This has to run in SharePoint Online ie a sandboxed solution. I have code which does the same, but already the first ...
1
vote
1answer
115 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?
2
votes
2answers
2k views

Adding SPUsers to SPGroups programmatically changes User ID

In a SharePoint Online (Office 365) environment we created a Sandboxed WebPart to put SPUsers in SPGroups. The SPGroup is created on rootlevel and has been given permissions on a subsite. This Subsite ...
1
vote
1answer
755 views

Define subsites in webtemplate

Is it possible to define a subsite in a webtemplate? I can't use a site definition because I'm working in Office 365 - SharePoint Online. Wrong approach: I thought about activating a site-feature in ...