0
votes
1answer
64 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 ...
1
vote
0answers
13 views

Sandbox Logging dll won't load

I am trying to use the codeplex.spsl Sandbox Logging framework but am having trouble getting it to execute in my code. The following error occurs on the last line of the following code snippet. ...
0
votes
2answers
63 views

Sandbox Event Receiver Not Working on SharePoint Online

I build an SharePoint 2013 Sandbox Event Receiver which works in my local on-prem dev environment. However, when pushing it up to my SharePoint Online tenant it does not work nor even fire at all. I ...
0
votes
0answers
30 views

Sharepoint Ribbon Contextual Tab in Sandboxed Web Part

I'm wondering if there's anyone who converted this MSDN example to sandboxed web part version - http://msdn.microsoft.com/en-us/library/office/ff407578(v=office.14).aspx. SPRibbon not working in ...
6
votes
2answers
73 views

Install sandbox package from app

I have sandbox solution for SharePoint Online (wsp package without dll) and I want install this package from app (for simplest installation). Is it possible?
2
votes
1answer
129 views

Visual Web Part Property Validation in Sandbox Solution [SharePoint Online 2013]

How can I validate a custom web part property in a Sandbox solution (SharePoint Online 2013 environment)? I am throwing a WebPartPageUserException when validation fails, as shown below. private ...
2
votes
0answers
132 views

Custom form for custom list causing “A potentially dangerous Request.Path value was detected from the client (:)”

I am working on trying to convert a custom sandbox solution to work with SP2013 Online. I can get the feature to activate, and all of our lists are created. However, the custom form we use for the ...
0
votes
0answers
42 views

How to make dropdown menu on a list item programmatically?

It appears that SPMenuField is not available in Sandboxed solution. Are there any options to do this programmatically?
0
votes
1answer
1k views

Webpart added to webpart page using modules is not visible in edit page

I am provisioning a webpart to a webpart page in sandboxed solution. here is the module's element.xml <?xml version="1.0" encoding="utf-8"?> <Elements ...
1
vote
1answer
36 views

Upgrading 100+ sites with same schema

I have an application with over 100 site collections. Each site collection has a root site, and all of them have exactly the same schema. Now I need to make a change to a field in a list that these ...
1
vote
1answer
154 views

Is it possible to read an excel file through code in a sandbox solution - SharePoint Online

On a SharePoint Online environment, I have an Infopath based list with Attachment enabled. When an excel file is attached during a new item creation on this list, I want to have an event receiver that ...
1
vote
2answers
347 views

Getting SPD workflows to run on a daily basis

I have a workflow that I need to run on a daily basis. It's going to run in a web application hosted in Sharepoint Online, so there is no access to Central Administration. Which means the timer jobs ...
1
vote
1answer
272 views

Event Receivers not working on Sharepoint Online

I have a sandbox solution. It has an event receiver. The event is triggered when a workflow is started. It works in our dev environment. However, when the solution is deployed to Sharepoint Online, ...
0
votes
1answer
455 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
145 views

Reading from text files within a sandboxed solution

So I have a set of plain text files included in some directories within sandboxed solution. I want to use these text files to programmatically insert data to SharePoint Online using an event receiver. ...
1
vote
1answer
251 views

Increase SharePoint Execution Timeout in SharePoint Online (Office 365)

I have office 365 site and web part added on this site. this web part create a document library. This is a sandbox solution I want to create 2000 document library using this code snippet as follow: ...
0
votes
1answer
104 views

SharePoint online solution licensing

We are working on solution which we belive could be useful for organizations using SharePoint. We designed and implemented solution so it can be used in sharepoint online. Since we want to be selling ...
1
vote
1answer
99 views

Adding EventRecevier in SandBox Sharepoint2010

This is Sample of my Code SPList list = new SPSite(siteURL).OpenWeb().Lists[listName]; SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers; SPEventReceiverDefinition ...
0
votes
1answer
720 views

How to use treeview in Sharepoint 2010 Sandbox solution?

I have tried using Treeview in my Sanboxsolution webpart but the problem is that in a web page it is not loading properly. And when i click on node it gives me javascript error. For these two errors i ...
8
votes
3answers
286 views

How to programatically determine if you are running in on premise Sandbox or SharePoint Online

How could you programatically determine if code is running in an on-premise Sandbox model or SharePoint Online sandbox?
0
votes
2answers
337 views

How to make SharePoint Online to update files inside modules

We have deployed solution to SharePoint Online with following elements.xml file: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
0
votes
1answer
681 views

Sandboxed code execution request failed in Web Part with no Exception thrown

So I'm working on a web part for a client of mine targeting SharePoint Online, and I've run into a brick wall that I've been banging my head against for the last few hours. The web part executes a ...
4
votes
1answer
277 views

Use AjaxControlToolKit in Sharepoint Online

I use following link for reference : http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/thread/c995bcf6-b8c7-46de-af27-f54bc8d6e182#2b0f9864-fb6f-4ad2-aef4-1e51d41dfb60 But From ...
2
votes
1answer
621 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 ...
2
votes
0answers
341 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 ...
0
votes
3answers
385 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?
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
693 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
401 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 ...
0
votes
1answer
226 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 ...
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 ...
2
votes
1answer
777 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
3answers
822 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
845 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 ...
2
votes
0answers
277 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 ...
5
votes
2answers
611 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
196 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 ...
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 ...
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 ...
2
votes
1answer
1k views

Custom file upload in sandbox

I have a custom web part in a sandbox solution. Inside of the web part I have added an <input type="file" />. Upon postback I read the file using HttpContext.Current.Request.Files and save the ...
5
votes
1answer
1k views

Send email via code in Office365

I am developing a custom web part in an Office 365 environment. I am trying to send email to a user during the execution of the code in the web part. I have tried two alternatives: ...
6
votes
2answers
1k views

Object cache in sandbox solutions

I am building a SharePoint sandbox solution which consists of multiple web parts. I want to be able to somehow cache POCO objects (Plain Old CLR Objects) in such a way that the cache is persisted ...