Questions tagged [sandbox-solution]

A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way

96 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
803 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 ...
1
vote
1answer
507 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
1
vote
0answers
166 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
0answers
138 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
342 views

Sandbox: can I get an html list item to Run in iframe?

I guess the real question is can I get rid of these lines in Response Header: X-Download-Options: noopen and Content-Disposition: attachment; filename=... so I can actually see an HTML page ...
1
vote
1answer
240 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 ...
1
vote
0answers
125 views

Ajax Call in sandbox Solution

How to make an ajax call in sharepoint sandbox solution. I have created a web part. In that web part I have created a multiple hyperlinks and grid view so when user clicks on link gridview should be ...
1
vote
0answers
459 views

Custom SiteMapProvider in Sandbox Solution

I'm creating a custom "mega menu" web part to replace the default SharePoint global navigation menu. This web part will be deployed to SharePoint Online (i.e. Office 365) so has to be a sandbox ...
1
vote
0answers
981 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 ...
1
vote
0answers
456 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 : public ...
1
vote
0answers
257 views

Getting Error - Unhandled exception was thrown by the sandboxed code wrapper

I am getting this error after copying and pasting the code from the link below http://msdn.microsoft.com/en-us/library/ms490609%28office.12%29.aspx It looks like the code cannot load IFilterValues ...
1
vote
0answers
725 views

Deploying InfoPath 2010 browser enabled forms as Sandbox solutions using WSP

Is there a way through which I can deploy a InfoPath browser enabled form with code behind as a Sandbox solution via WSP? I tried something around the approach we used to follow for deploying ...
1
vote
1answer
520 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
0answers
29 views

Full Trust Proxy & permission denied on System.Net.WebPermission

We've built a Full Trust Proxy based on this MSDN article and we're using Serilog http sink as logger. When the logger is used from any code running from the W3WP.exe there is no issue. But when the ...
0
votes
0answers
14 views

WorkerProcessProxy Vs. W3WP on loading assemblies

We are using a third-party logger and we created a wrapper to be used by all our custom solutions to use the logger. So the wrapper is referencing third party assemblies. When the wrapper is used ...
0
votes
1answer
56 views

Can we deploy wsp in SharePoint online

I want to deploy a wsp in sharepoint online site collection. But I am getting error as below, Activation of solutions with sandboxed code has been disabled in this site collection. Contact your ...
0
votes
1answer
43 views

SharePoint 2013 vs. SharePoint for O365

I would like to do self-paced SP2013 training and eventually development at home using my own SP2013 sandbox (S-Server or Foundation), as I don't want to interfere with the production environment at ...
0
votes
1answer
26 views

Fail to run sharepoint 2010 workflow with custom action

I have a workflow custom action which deployed as sandboxes solution. However, when i trying to start this workflow, the error message appears.
0
votes
0answers
43 views

Office 365 call site event Receiver but did not work event Receiver

Office 365 Solutions upload then site event Receiver call & Feature activated, did not work Event Receiver.. Below Code And Error Image Code For Site EventReceiver public class ...
0
votes
1answer
290 views

How to add a 3rd party library in sharepoint 2010 event receiver

I am writing a SharePoint item event receiver to OCR documents that are uploaded/added to a library to generate searchable PDF for that document. I'm using a third party library (dll) "tesseract.net....
0
votes
1answer
217 views

unhandled exception was thrown by the sandboxed code wrapper's execute method in the partial trust domain

The below Error was thrown while activating the feature in SharePoint Sandboxed solution in Sharepoint-2013. unhandled exception was thrown by the sandboxed code wrapper's execute method in the ...
0
votes
0answers
50 views

SharePoint Sandbox Solution Error

I have developed web template in visual studio sandbox solution. Sandbox solution is worked fine in on premises but when i am going to activate WSP and create new sub site using this web template i m ...
0
votes
1answer
60 views

Deploying the custom wepart with wsp extension

I am new to .net and sharepoint world and using sharepoint 2013. My custom webpart is accessing a webservice, which is in the different solution. When I run the webpart in the debug mode in Visual ...
0
votes
1answer
533 views

ItemUpdated event receiver not trigger when item update from workflow in sandbox solution

Itemupdated Event Receiver not triggered when item update from workflow I have created workflow on document library which simply update single column. And i have also create ItemUpdated event ...
0
votes
1answer
477 views

SharePoint sandboxed solution call javascript function from back end

I have created a sandboxed solution for SharePoint 2013 which contains sandboxed visual webpart. I need to call JavaScript function from back end. How can I accomplish this requirement? How can we ...
0
votes
1answer
520 views

No-Code Sandbox solutions NCSS template for visual studio

I working on an solution for SharePoint Online, and would like to be able to not have a virtual machine for developing the NCSS parts of the project. But with the Visual Studio template I would have ...
0
votes
1answer
223 views

EventReciever as SandBox Solution

I am having an Event receiver as sandbox solution to perform certain action on item Added to the list. Basically it is creating a sub-site on item added using custom template. Problem i am facing is ...
0
votes
1answer
385 views

Page.IsPostBack is always returning false in Sharepoint Sandboxed Solutions

I've a webpart with a single asp:button, I've noticed that the Page.IsPostBack is not changing its state even though the user click on the button. Also,I got an error when trying to using something ...
0
votes
0answers
383 views

Validate Google Re-Captcha Server Side (Sandboxed solution)

I tried validate google recaptcha at server side, and according it's documentation, I had to do a request to an address (https://www.google.com/recaptcha/api/siteverify), passing three parameters (...
0
votes
1answer
496 views

SP2013 Sandbox Webpart with a ClientPeoplePicker

I know that the old Peoplepicker won't work in a SP2013 Sandbox Webpart, but how about the ClientPeoplePicker - Is it possible? Or is there a another solution to select fast & easy an SPUser ...
0
votes
0answers
213 views

Sandbox Solution: Why won't it update when published?

I have a weird problem in VS 2013 working with a SharePoint NCSS Sandbox Solution. Whenever I right-click and Publish the .wsp locally on the file system, it publishes an old version of the .wsp. By ...
0
votes
1answer
35 views

create a view with selected items

i'd like creating a view with items selected when i click on a ribbon action. I'm abble to have the selected items but i'd like to know if there are a way to put this items in a particular view.
0
votes
0answers
433 views

CAML query on site to get all items modified after a date

I'd like to know a way or if it's possible to get all items modified from a date in a site. Now for having this, I've got a client script because I'm in sandbox solution, I've to loop on each list of ...
0
votes
1answer
24 views

Get all the modified item from a site

I'd like to know a way to have all the modified item from a date in a site. I'm in a sandbox mode so forget powerShell but the script client will be the good way.
0
votes
0answers
130 views

Sandbox Proxy in SharePoint 2010-Unhandled exception was thrown by the sandboxed code wrapper's Execute method

I Implemented a Sandbox Proxy in SharePoint 2010 and deployed. But when I access it in SharePoint site it gives error which I wanted to overcome it sandboxed solution. "Unhandled exception was ...
0
votes
0answers
134 views

Add user in group

I'm trying to add a user in a group during my event itemupdated. Like this he has the necessary permission to move a file and after I remove him from group. I've tried this to add but nothing ...
0
votes
1answer
290 views

Use of taxonomy in sandbox

I am discovering sandbox mode and already have a limitation issue. I can't use the assembly Taxonomy I've a treeview in a term store and I have to retrieve or set a value. What can I use as column ...
0
votes
2answers
397 views

Creating sub site in feature receiver does not work always in sandbox solution

I have created a sandbox solution in which there is one feature for creating two sub-sites. In the event receiver of that feature I have created two sites programmatically. The code is as per ...
0
votes
1answer
289 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 ...
0
votes
1answer
201 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
1answer
182 views

How to find images & javascripts of SandBox solution deployment?

I have deployed SandBox Solution to my SharePoint Server. After deployment When I open the site in browser, it displays the images of the Site but not working of JavaScript file. (I have given the ...
0
votes
1answer
423 views

How to reference/write the file path in Elements.xml for UserControl in Sandbox Solution?

I have 1 solution (which is deploying as SandBox Solution). I have added JavaScript files, Images, Application Page & UserControl in one Module under project folder. I have one Element.xml file ...
0
votes
1answer
125 views

Member Variable / public property null on postback

I have a sandboxed visual web part (created in VS2012) when I initially load my web part and its child controls I set myProperty to a value retrieved from the database. When I fill out the relevant ...
0
votes
1answer
324 views

SandBox Visual Web Part with Power Tools issue with ExchangeService

I am trying to make Sandbox Visual Web Part using Power Tools. It has given me below error Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the ...
0
votes
0answers
374 views

Custom EditorPart in SharePoint sandboxed solution

I want to implement the custom EditorPart in SharePoint sandboxed solution. I have the code like below. When I deploy the solution I cannot see the textbox and I noticed that the code is not executing....
0
votes
1answer
72 views

Sandboxed solution - Pass datafrom client side(javascript) to server side

Can anyone suggest me with different ways to passing data from client side to server side?