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
2answers
596 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
237 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
2answers
237 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
239 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
633 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
146 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
334 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
135 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
243 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
451 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
425 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
906 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
420 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
344 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
976 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
468 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 ...
5
votes
1answer
757 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
459 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
708 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
236 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
473 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
298 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
310 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
306 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
804 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
127 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
220 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
487 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 ...
1
vote
0answers
398 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
528 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. ...
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
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 ...
3
votes
2answers
370 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
412 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
365 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 ...