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
0answers
42 views

Unable to create new web in sandbox solution

I have created an event receiver on custom list for ItemAdded that will create new site from the custom template whenever new site is created. My custom template is: <Elements ...
0
votes
1answer
158 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 ...
0
votes
1answer
295 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
28 views

when on click try to create subweb, it gives me error

This function works fine, SP.SOD.executeFunc('sp.js', 'SP.ClientContext', loadCurrentWeb); but when I put it in, function AddNewSubWebNow() { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
0
votes
1answer
108 views

How to add property bag javascript

how can I add a property let say "StartDate" to the subweb i just created in this code, var clientContext; var website; var subweb; SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady); ...
0
votes
1answer
191 views

Created a visual webpart for office 365 and getting error

This is the error, It's just a simple visual web part i created as sandbox, please guide Getting Error Message for Exception System.Security.SecurityException: That assembly does not allow ...
0
votes
3answers
343 views

An unknown exception occured while executing a sandbox code

Just created a visual webpart as sandbox solution, didn't changed a word other then adding some text to visual webpart, tried to deploy it but getting this exception, it is a single server with dc, ...
0
votes
0answers
106 views

Export to Excel ignoring filters

I understand that when we use the Export to Excel button in the ribbon bar, what we get is an IQY file containing a query for OWSSVR. I am trying to filter the data returned by OWSSVR. When I go to ...
1
vote
0answers
31 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. ...
1
vote
2answers
285 views

Is it possible to, using an event receiver, change a filename before it is uploaded?

I was using a workflow to change file names to some text and the SP ID, but this has caused issues because the workflows can often take several minutes to complete. I would like to do this during ...
0
votes
2answers
702 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
1answer
82 views

Access Elements file on Feature Activated in Sandboxed solution

I need to access an Element file in feature activated event in sandboxed solution. How do I do it. properties.Feature.RootDirectory is not present in sandboxed solution. anyway to go around to access ...
2
votes
2answers
136 views

Web part custom properties are cleared after save - until page refresh

I have noticed a bug that occurs on all custom web parts I created. Let's assume I have following web part (sandbox solution) with two properties: using System; using System.ComponentModel; using ...
1
vote
1answer
234 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 ...
2
votes
0answers
33 views

convert to sandbox

how i can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as microsoft documentation ...
2
votes
1answer
455 views

How to add tooltips to sharepoint 2013 form fields

I am working with a User (sandbox) Solution created in Visual Studio 2012 for SharePoint 2013. I have been asked to add custom tooltips to the default new and edit form fields. I have not been able ...
1
vote
3answers
487 views

Copy document from one site to another..?

,I need to build something (using a sandboxed solution?) to demonstrate that SharePoint has the ability for users to copy a document (with its attributes) from a doc library in one site to a doc ...
5
votes
1answer
213 views

How do I localize page layouts and masterpages in a sandboxed solution?

In farm solutions you can use resource files inside aspx-pages by deploying resx-files to the hive. MSDN have some documentation but there's no example for page layouts, just managed code which is ...
0
votes
1answer
49 views

Localization of web part label using VS 2010 in a sandbox solution

I have created a sandbox project in sharepoint. I have a module folder which has resources file. I need to localize one label in a web part in Arabic language. <asp:Label ID="lbl" runat="server" ...
0
votes
2answers
99 views

close modal dialog in sandbox solutions

i tried to close the modal dialog in sandbox solution using the following code HttpContext context = HttpContext.Current; context.Response.Write("<script ...
1
vote
1answer
246 views

How to get url of file after uploading to document library?

How do you return the URL of a file after it has been uploaded to a document library, using the default upload page? Returning the text from the "inputFile" textbox from the upload.aspx page would ...
0
votes
0answers
69 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 ...
0
votes
0answers
79 views

How to render RichTextField in publishing page without server side code

I'm trying to render a rich text field in my publishing page, within a content editor webpart. I don't want to use any external client side plugins to render a rich text editor. How can I add a ...
2
votes
1answer
608 views

Sharepoint Foundation 2010 : Unable to create new sites in my site collection

So I had originally upgraded an old WSS 3.0 site to SharePoint Foundation 2010 by the database attach method. Site worked fine for a couple months until now. Now we our unable to create new sites in ...
1
vote
1answer
1k views

Sandbox solutions are not enabled on the SharePoint server form - Infopath 2010?

I have designed an Infopath form, picture button is placed inside the repeat table. When the button is clicked, I want to remove the current row of the repeat table, so have added the code mentioned ...
0
votes
2answers
311 views

Sandboxed solution deployed activated, in Site Collection Features but not in Manage site features?

I have a sandboxed feature I deployed successfully. It is activated when I check in Site collection features, but when I go to Manage site features it is not there to activate. What am I missing? ...
6
votes
2answers
89 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
221 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
283 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
2answers
302 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
258 views

Read items from External list in Sandbox Solution

Can we read an external content type using a sandbox solution for share point online? If anyone has faced this issue then please share how is it possible. Thanks
0
votes
0answers
71 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
102 views

Upgrading a sandbox solution SPD reusable workflow

So, I made sure to follow all the best practices right from the beginning... use content types, create SPD reusable workflow, export the workflow as a template (sandbox solution WSP)... Built it out ...
0
votes
1answer
3k 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
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 ...
2
votes
1answer
260 views

Custom Action in user dropdown

Im trying to implement a custom action in the logged in user dropdown (when you click 'sp_admin' in the image below). The custom action should be a text called "Switch user", which when clicked ...
1
vote
0answers
110 views

Will there be many sandbox related questions on certification 70-488?

According to this Microsoft article on the 70-488 certification test for SharePoint 2013 there will be several question regarding the creation of sandbox solutions, despite the (still debated) ...
1
vote
1answer
80 views

Sandbox Web Services

I've been tasked to create a solution that deploys to both SharePoint 2010 and 2013 without the need to "rewrite" what was written for SharePoint 2010 (default deployment path). Now, as I'm a ...
1
vote
0answers
112 views

VS 2013 not deploying silverlight solution in sandboxed on stand alone dev: SPUCWorkerProcess not running error

I have a stand alone machine with SP2010 set up on Windows Server 2008 R2. Office, SPD, VS2013, Expression, etc. There is no AD or anything as it is stand alone installation using local accounts and ...
1
vote
1answer
202 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
0answers
258 views

Provisioning publishing pages with custom webparts in SharePoint 2013

I have a sandboxed solution where i provision publishing pages with custom web parts. Like this: <Module Name="CustomPage" Url="$Resources:cmscore,List_Pages_UrlName;" ...
4
votes
1answer
205 views

Full-trusted proxy for SP2013 sandbox solution

In my sandboxed solution I have the following code that activates a proxy: public override void FeatureActivated(SPFeatureReceiverProperties properties) { var type = typeof ...
0
votes
1answer
71 views

Sandbox Visual Webpart Not Adding BulletedList Control

I have a sandbox visual webpart (got it by installing SharePoint Power Tools) and in that I have a "Place Holder" control named "phMsg". I am adding a "BulletedList" control to that place holder in ...
0
votes
3answers
298 views

Sandboxed Solution doesn't work on production server

I am new to SharePoint development and recently get stucked by a problem of deploying own Sandboxed Solution that do a event receiver job (ItemAdded). It create a subfolders in top folder in a ...
1
vote
3answers
768 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
364 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
54 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 ...
0
votes
1answer
706 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
170 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
367 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: ...