A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way
2
votes
1answer
462 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
203 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
993 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
164 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
242 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
490 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
440 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
330 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)
{
...
2
votes
3answers
487 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
958 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 ...
5
votes
1answer
509 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
273 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 ...
3
votes
2answers
501 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
196 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
0answers
61 views
SPUtility.ExecuteRegisteredProxyOperations throws nullreferenceexception in my sandboxed solution
I a very basic event reciever that executes on both the ItemAdded and ItemUpdated events inside of document libraries. To handle exceptions, we've created a full-trust farm based solution to write ...
1
vote
2answers
853 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
357 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
203 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
2k 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
260 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
80 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 ...
0
votes
1answer
228 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, ...
1
vote
1answer
550 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
96 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
197 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
334 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
2k 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
236 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
392 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 ...
2
votes
1answer
1k 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
2k 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.
...
0
votes
2answers
1k 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
106 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
263 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
1k 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 ...
2
votes
1answer
318 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
230 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
498 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
224 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 ...
1
vote
1answer
685 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
652 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
718 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
988 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
655 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
156 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
466 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
4answers
919 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
905 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
314 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
178 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" >
...