A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way
1
vote
1answer
319 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" >
...
3
votes
2answers
864 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
157 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
416 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
161 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
101 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
1k 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
519 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 ...
3
votes
2answers
470 views
Add image to Ribbon Button in Sandbox
I've created a simple SharePoint ribbon tab with a button on it; the button XML looks like this:
<Button
Id="Ribbon.MyTab.MainGroup.HelloButton"
...
2
votes
2answers
250 views
Debug custom sandbox workflow action
How to debug the custom sandbox workflow actions in VS2010?
The sandbox workflow actions created following the steps in
http://msdn.microsoft.com/en-us/library/ff798499.aspx
4
votes
2answers
672 views
SharePoint 2010 Sandbox Solution - Cookies support
In SharePoint 2010 Sandbox solution, whether cookie is supported?
When I'm trying to set cookie by
HttpCookie myCookie = new HttpCookie("Test","Hello"); ...
1
vote
3answers
1k views
How do I deploy custom web part to Sharepoint Online Site Collection?
After uploading the wsp to the site collection using the browser and activating it, everything seems to work fine and i see all the page layouts, masterpage, content types, lists and webparts. BUT, ...
2
votes
1answer
197 views
Attach file to list in Sandbox Webpart
I am trying to create a custom control for updating a List on a Sharepoint site that only allows Sandbox Solutions to be added.
I've read a few threads on uploading attachments, but they all seem to ...
2
votes
3answers
455 views
Do Sandboxing solutions support PortalSiteMapProvider?
According to these two articles, Sandboxing supports 'Navigation'--
http://www.sharepointusecases.com/index.php/2010/03/introduction-to-sharepoint-2010-sandbox-solutions-for-site-collection-owners/
...
3
votes
1answer
539 views
Sandbox Web Part without Site Collection Administrator permissions?
Is there a way to get a Sandboxed Web Part deployed without Site Collection Administrator permissions? Here is the situation:
I have Full Control permissions of the Site Collection's Root Web, ...
4
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 ...
3
votes
1answer
595 views
Can site columns be deployed in sandboxed solutions?
I have created a package in Visual Studio 2010 for SharePoint 2010 which contains a single feature, called "SiteColumns", which link to a single elements file defining a single site column.
I have ...
2
votes
1answer
2k views
Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed (but no implementation at all)
I realize of course that there is another question with the same title, and mine is a very similar question, but with a slightly different issue, I think:
I have created an empty feature with an ...
2
votes
2answers
2k views
Enable feature of SharePoint sandbox solution
I have a .wsp file that is deployed to the remote server by powershell script. The solution is deployed successfully and I can see the solution feature in the site collection features, I can activate ...
1
vote
2answers
576 views
How to refresh a Sandboxed web part after leaving Edit Display Mode?
I have a test SP page hosting a Sandbox WebPart, code only. The WebPart in turn contains a GridView.
I'd like to refresh the WebPart (actually, to fire the GridView-ObjectContainerDataSource ...
0
votes
1answer
288 views
SPMetal Person column generation
I'm using SPMetal to generate a class for my lists to use in a Sandbox-solution (with Sandbox Visual WebParts).
However, when I generate the classes for a list column of type "Person or Group" with ...
2
votes
1answer
158 views
ServiceLocator in Sandbox: is anyone experiencing RemotingExceptions?
I posted an issue on SP Guidance tracker after quite some searching, but I saw several unanswered issues there so I'm trying here as well.
I think I have a very simple Proof Of Concept: a Sandbox ...
2
votes
1answer
909 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 ...
1
vote
1answer
271 views
Server side event for button in sandbox solution
i am developing one sandbox solution. i have one .aspx page in my solution, there i need to create one button and need to write server-side event for that button. But i couldn't do it. getting error ...
4
votes
1answer
360 views
Use Visual Studio 2010 To Create SandBoxed Site with Content
I have a site that was built with the UI: It has a lot of custom .aspx pages with webparts and there are custom site columns, content types, and even a document library with several support files.
My ...
4
votes
1answer
830 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:
...
2
votes
1answer
203 views
Asynchronously load a Sandboxed Web Part
I'm wondering if there is an way to load custom Sandboxed Web Parts asynchronously. I have done this earlier with ScriptManager, I understand that this not possible with Sandboxed solutions. And these ...
2
votes
1answer
1k views
VS Power Tools for SharePoint - InitializeControl does not exist in the current context
I don't think this qualifies as a 3rd party product, so I'm posting here.
I have a clean VM with VS2010 SP1 installed. I then installed the VS Power Tools for SharePoint. I'm attempting to create a ...
6
votes
2answers
763 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 ...
2
votes
0answers
264 views
How to customize Feature image for a SharePoint 2010 Sandbox solution? [duplicate]
Possible Duplicate:
Own Feature-Icon in Sandbox Solutions
Ok, as usual, after searching for a solution on the rest of the net, here I am on StackExchange :)
How can I stuff a PNG image in ...
9
votes
3answers
2k views
How to localize webpart title, description, group, quickadd group in Sandbox solution
I've seen other similar questions (like this one), checked Microsoft documentation (like all the ones stemming from and related to the page Localization of Sandboxed Solutions in SharePoint 2010), ...
4
votes
1answer
123 views
Can WSPBuilder be used with Sandbox Solutions?
Does anyone know if you can use WSPBuilder to create Sandbox Solutions for SharePoint 2010?
3
votes
3answers
439 views
Sandboxed Solution - SPWeb Property Bag
I'm trying to create an SP2010 Sandboxed solution which involves a site collection administrator storing a piece of information in the Site collection root web property bag.
I can't think of a way I ...
1
vote
1answer
832 views
How do I send an email from a sandboxed workflow action?
I have been tasked with creating a SharePoint 2010 sandboxed workflow that essentially scans a custom list and sends emails to specific users when certain conditions for a given list item are true. ...
1
vote
1answer
1k views
Safe to convert a Sandbox Web Part solution to a Farm solution?
We've run into the Sandbox solution error (Web Part Error: The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request.).
So we want to ...
1
vote
1answer
324 views
Can't deactivate a user solution without breaking the site
[Edit] Rewrote the question, as there are simpler ways to reproduce the problem. [/Edit]
I have built a reusable workflow with SharePoint Designer 2010.
I saved the workflow as template, grab the ...
4
votes
3answers
768 views
Error while adding Sandbox WebPart
I created a simple "Hello World" sandbox webpart in VS.NET 2010. After uploading the .wsp file to SharePoint site, I activated the webpart. But while trying to add it to a page, I was getting this ...
1
vote
1answer
147 views
spdatasource control in sandboxed solution?
I was surprised to not found the SPDataSource control in sandboxed solution (I simply want to populate a drop down list).
Did I missed something, or is this actually one the limitation of the ...
5
votes
3answers
3k views
Sandboxed web part failing with “No available sandboxed code execution server could be found”
I'm deploying a web part as a component of a sandboxed solution from Visual Studio 2010 to Windows 7 SharePoint Foundation Server 2010 on my development box, and I receive the following error when ...
3
votes
2answers
2k views
How do I deploy custom list edit forms in the sandbox?
I'm creating a List Definition for use on 2007, 2010 (Sandboxed), and 2010 (unrestricted) that will need custom new and edit forms; unfortunately the Sandbox specifically excludes custom application ...
1
vote
0answers
337 views
troubles with a custom SPD activity in sandboxed solution
I want to build a custom activity for SPD 2010 that can extract the full url of a workflow task.
I did not found something like this OOB. Did I missed something ?
I wrote the following code :
...
1
vote
1answer
783 views
How to send a document from a document library directly as attachment?
Is there a way to change the behavior of the "send to"-drop-down in a DL from "E-Mail a link" to "E-Mail as attachment"?
5
votes
4answers
2k views
How to customize Feature image for a sandbox solution?
I'd like to add my own icon graphic to a feature. I found out that the ImageUrl attribute in the feature.xml definition points to the /_layouts/IMAGES folder which is out of scope for sandboxed ...
5
votes
1answer
4k views
Can't Activate Solution from Site Settings in SharePoint foundation 2010
I'm currently tasked with developing a branding solution for SharePoint Foundation sites. I've created a WSP file which can be deployed through my local machine through Visual Studios, but when I ...
6
votes
1answer
315 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 ...
0
votes
1answer
128 views
Download solution package? [closed]
I was reading this article by Vesu
http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx#stepbystep
and at the end of article he posted the solution file. But my ...
3
votes
3answers
823 views
Is it possible to create a Multi-lingual List Definition in a SandBox
I have a sandbox solution that for the some of it I have german translations for, like the feature name and description.
However to make this a proper multi-lingual solution I need to do the same for ...
1
vote
3answers
3k views
Can I activate the Sharepoint Server publishing Infrastructure feature at the site collection level within a sandbox solution?
I have this code which works in a farm solution, but not in a sandbox solution.
Is it possible to do this with a sandbox solution?
The table in this link ...
3
votes
1answer
258 views
Does Create Content Type need to be a farm solution?
I've found a couple of examples of creating a content type using visual studio.
http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html
...