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)

1
vote
4answers
1k views

Sandboxed solution -get SharePoint lists programmatically

I am using the below code for retrieving all sharepoint lists from a site. SPSite site = new SPSite("http://servername:port"); SPWeb web = site.OpenWeb(); SPListCollection SPlists = web.Lists; ...
1
vote
1answer
1k views

News web part for Sharepoint 2010

I am looking to build a News web part (Sandboxed) as we can see in below link. http://timesofindia.indiatimes.com/tech/techhome/5880659.cms Requirement is, The News web part should contain a ...
1
vote
1answer
203 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
3answers
3k 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 ...
1
vote
1answer
122 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?
1
vote
1answer
402 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 ...
1
vote
1answer
1k 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
3answers
130 views

Solutions and Office.com

Does anyone know when/how office.com will integrate with sandbox solutions Google ...
1
vote
1answer
4k views

Deploying dll's in a Sandboxed solution from VS 2010

I am testing out Visual Studio 2010. I have created a sandboxed solution with a webpart. It deployed OK. I then tried adding a dll to the solution that would contain the business logic. This dll is ...
1
vote
1answer
279 views

Custom List inheriting wrong content type

I have created a sandbox solution with 2 custom lists, each with their own custom content type. When I deploy & activate the solution on my local environment and then activate the schema feature, ...
1
vote
2answers
372 views

How to remove “add document” button of document library programmatically using C#?

I have created a document library programmatically using C#. Now, I want that when any particular document library created then its 'add document' button should not view or if possible then whole ...
1
vote
1answer
1k views

Implicit function evaluation is tuned off by user?

When I am trying to debug the ItemUpdating code in visual studio. I cannot see values of list values. How can I enable this?
1
vote
1answer
670 views

Web Service call in Sandox Visual Webpart

I have web service which I want to call in my sandbox visual web part. when I'm call web service method in web part at that time I'm getting this error Web Part Error: Unhandled exception was thrown ...
1
vote
1answer
589 views

Server getting flodded with SPUCWorkerProcess.exe

Got a SP2010 Server server that we use as an app server (not a WFE other than the Client Administrator). I had to reboot it to clear out dozens of processes as seen in Task Manager. We had probably ...
1
vote
1answer
512 views

Activate sandbox solution programmatically sharepoint 2013

I'm trying to activate a sandbox solution on SharePoint 2013 using C#. This is the code that I am using, it's working and the solution is activated however the files in the solution are not copied to ...
1
vote
2answers
560 views

Custom Property in Sandboxed Visual Web Part

I would like to create a Custom Property for a Sandboxed Visual Web Part but I'm not able to do so. Requirement: I would like to display data of Blog "Posts" List(RSS Feed) in Custom web part by ...
1
vote
1answer
38 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
607 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, ...
1
vote
1answer
63 views

Can I access in a SharePoint 2010 Online webpart, some webservice and do some CRUD?

I am using SharePoint Online. It is only possible to build sandbox solutions webparts. Is it possible in a sandbox solution webpart to access a webservice somewhere on the internet? I would like to do ...
1
vote
1answer
187 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
3answers
221 views

Adding members to groups i am not a member of

I have a process which runs in a event receiver, this involves adding users from ad to groups based on the contents of a custom list. The problem occurs when i try to add a user into a group that i ...
1
vote
1answer
898 views

Programmatically add publishing page in sandbox solution?

How do you programmatically add an item to the Pages list from a feature receiver in a sandbox solution? NB: The Microsoft.Publishing.dll assembly is not available within the sandbox, so you ...
1
vote
2answers
769 views

Write file to response problem

I am having trouble writing a file to the response stream (sandbox solution). The final line of this code block throws a null reference exception. HttpContext.Current.Response.Clear(); ...
1
vote
1answer
175 views

How to fake Manifest.xml for WSP builder solution

I know WSP builder creates manifest at run time and then deletes it but can I fake it somehow to add few safe controls (I know other ways but I want to know if I can do it this way or not)
1
vote
1answer
257 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 ...
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
1answer
755 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 ...
1
vote
2answers
2k 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, ...
1
vote
2answers
792 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 ...
1
vote
1answer
2k 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
183 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 ...
1
vote
1answer
2k views

Deploy event receiver to sandboxed solution

I am working with Sharepoint Foundation 2010 on both my development and production machines. My production site is hosted. I am trying to deploy a sandboxed event receiver to the production site ...
1
vote
1answer
39 views

Remove sandbox solution from SharePoint online

I am working with Custom Ribbon Item development in SharePoint Online, i have created a custom sandbox solution and deployed on my SharePoint Online site. Once i activated the solution my site has ...
1
vote
0answers
24 views

Remove default hyperlink from Title in SharePoint 2013 Calendar List

I want to remove default hyperlink from Title in SharePoint 2013 Calendar List and want to set custom link in Title. How can I perform this programatically in sandbox solution? Thanks.
1
vote
0answers
22 views

Sharepoint SandBox Solution is not Working in SharePoint online (Custom action)

I have created a sandbox solution in sharepoint 2013.I have added Custom action and Visual web part in to the solution. Custom Action Code as following : <?xml version="1.0" encoding="utf-8"?> ...
1
vote
0answers
27 views

Office 365 - Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain

In Office 365 environment, I have received the below error while submitting the form which was developed by Sandboxed Solution. Web Part Error : Unhandled exception was thrown by the sandboxed ...
1
vote
0answers
12 views

SharePoint Sandbox Trouble

I have tried creating a mailbox on a site, and I have tried to set-up alerts hoping that the emails each of the accounts are associated with would be used rather than the account emails I created ...
1
vote
0answers
21 views

InitializeControl does not exist in the current context Office365 (Sandbox solution)

I am attempting to deploy a Visual Web Part (Sandbox Solution) and I am receiving following error: The name 'InitializeControl' does not exist in the current context". I was able to deploy a ...
1
vote
0answers
25 views

Hide Timeline using XML Code in share point Sandbox solution

How can I set ShowTimelineIfAvailable Property of Timeline in task list view using XML ? I want to hide time line from the task list view. I've Sandbox Solution with page provisioning. I'm creating ...
1
vote
0answers
27 views

Sandbox solution getting error on on prem

Sandbox solution gives me error : Unhandled exception was thrown by the sandboxed code wrapper’s Execute method in the partial trust app domain: An unexpected error has occurred from below ...
1
vote
0answers
65 views

Sandbox solution feature upgrade not working all the time

I have been using a no code sandbox solution to deploy style related assets and display templates via a site collection feature. Each time we need to update these assets I do the following: Update ...
1
vote
2answers
49 views

What are the available approaches to programmatically create site columns and content types in SharePoint 2013?

I want to create some site columns and content types programmatically, since I need to create some site columns with the same display name as existing columns, and this can not be done using the CA ...
1
vote
0answers
110 views

Sharepoint loading slow — blank visual web part — is this normal?

I'm trying to optimize an external/public Sharepoint 2013, on-prem site. Interestingly enough I've found that sandbox visual web parts drastically slow the page down. I know it's not the code in the ...
1
vote
0answers
20 views

Cannot Activate Sandbox Solution

I'm trying to activate a sandbox solution on a SharePoint site but the 'Activate' button is greyed out. I have made sure that the Sandboxed Code Service is started but it's still not enabled. What ...
1
vote
0answers
23 views

CU's cause duplicate column to be created

We have a list deployed via a sandboxed WSP in SP 2010. The list is using list fields, not content types, so they are only defined in the Schema.xml and Elements.xml for the list instance. When the ...
1
vote
0answers
48 views

How to properly increase the limit/point settings for Sandbox Solutions?

I have a SharePoint 2013 event receiver in Visual Studio. The solution does some processing of XML files (without getting in to too much detail). I am having an issue with the event receiver timing ...
1
vote
0answers
117 views

Is it possible to deploy custom workflow activities to Office 365

Is it possible to deploy SharePoint 2013 style custom workflow activities and deploy it to Office 365 environment as sandboxed solution? Or maybe, it is possible to deploy it as an app and use it in ...
1
vote
1answer
265 views

Referencing JS and CSS in sandbox web parts error

I am trying to reference JS and CSS files in sandbox web part, but once I try to deploy it gives me this error: The expression prefix 'SPUrl' was not recognized. Please correct the prefix or ...
1
vote
1answer
452 views

How to change the site logo of sharepoint online (Office 365) using C#?

I want to change the Site Logo of the Office 365 sandbox solution using C#. I have tried this code: site.RootWeb.SiteLogoUrl = imageUrl; But, Its not working. I also want to upload the image ...
1
vote
1answer
119 views

best approach to get and display list items in sharepoint branding site

I have implemented a branded SharePoint site for a customer .The customer wants to have some "dynamic" custom list views e.g fetch 3 items from a specific list and show them in a custom designed box ...