A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way
0
votes
1answer
25 views
Custom Master page will not visible in Sharepoint Designer
I have created a solution(sandbox solution) for applying custom master page on feature activation.Custom Master page is not visible in Sharepoint Designer 2013.
Element.xml
<Module ...
0
votes
1answer
18 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
0answers
8 views
Sandbox add information to page head
Is it possible to add information in the page head through a sandboxed solution without JavaScript and Custom Action? Preferred way is a code or control.
0
votes
1answer
46 views
Apply Custom Master Page Only to New Subsite
I'm using Microsoft's Deploying Branding Solutions for SharePoint 2010 Sites using Sandboxed Solutions sample solution to start. I just want to:
Create a subsite
Apply custom master page only to the ...
0
votes
0answers
17 views
master page __designer:Values issue using visual studio
I have created a master page using SharePoint designer and deploying it through the module in Visual Studio.
I have created feature receiver which will set the master page when it is activated.
...
0
votes
1answer
44 views
CustomAction ScriptLink Remaining after feature deactivation
I have a declarative sandbox solution in SP2010. It contains 3 customaction scriptlinks to javascript files that are deployed into the style library.
On feature Activation it adds the 3 links and on ...
0
votes
0answers
17 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 ...
1
vote
1answer
29 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 ...
0
votes
0answers
10 views
Waitning For Sandboxed Code Execution Error in Sandboxed Solution
I created visual web parts using sandboxed solutions, it was working fine but after few hours I got this error
Waiting for sandboxed code execution request to complete within the
worker process.
...
1
vote
0answers
55 views
Deploy custom newform for custom list using wsp for SharePoint Online
I have a custom list which inherits 2 custom content types. Each content type contains around 50 odd fields. I have to customize the layout of the form and integrate jquery for the newform and ...
0
votes
1answer
19 views
My sand box solution simply does nothing (item added) on my site?
I have a sand box code which iterates through items after they are added. It works perfectly fine on one website I have on a VM, and the site is literally set up in the exact same way. But the sand ...
0
votes
1answer
46 views
Create subsite in another site collection using event recievers
I am trying to create a subsite in another site collection using an event receiver on a list from current site collection. How do I do that?
I have tried getting the context of the target site ...
0
votes
1answer
25 views
How can I build a Visual Studio 2010 solution from wsp? [duplicate]
I've inherited a site with a Sandbox Solution but no documentation nor the original solution package. How can I extract the .wsp to get the solution? I tried renaming it to a .cab file and ...
0
votes
0answers
34 views
Can't use all SPFileCollection.Add methods with sand boxed solution?
I'm copying items based on a queue (custom list) and an event receiver which looks at when items are added to that queue, but the method I need to use SPFileCollection.Add(String, Stream) is ...
0
votes
0answers
16 views
Web Templates and Sandbox Solutions
I want to create web template from scratch and upload it to only 1 site collection to be used there, but I want to do it in code, so my question, if I do it in code, will it generate wsp file? will ...
1
vote
2answers
41 views
Debugging sandboxed solution?
I know this is a novice question, but my sandboxed solution works on one site and not the other. How/where can I actually see the errors generated by some sort of report? Debugging simply takes me to ...
0
votes
0answers
7 views
What is the difference in throttling when using Sandbox and farm solutions?
I want to know what difference it makes in terms of throttling when we use Sandbox and farm solutions?
0
votes
2answers
56 views
Add file to subsite with C# knowing only URL?
I would like to use C# to add a file to a library in a subsite.
I believe SPWeb will only reference the site I am on. In an ItemAdded eventreceiver, I want to use something like
SPFolder ...
0
votes
1answer
44 views
Copying document with sandbox solution
I would like to open a new window when the user clicks a button so that the user can specify a destination url (some doc library in a subsite). Is this possible to do with a sandboxed solution? One of ...
1
vote
1answer
181 views
SharePoint 2013: Programatically Installing AND Activating sandbox solutions using CSOM
I have tested this successfully, but wanted to check if anyone else has run into issues with this approach?
The following object SP.Publishing.DesignPackage allows you to .install() and .apply() ...
0
votes
0answers
24 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
56 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
126 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
22 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
57 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
97 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
2answers
84 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
48 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
18 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
153 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
300 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
48 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
105 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
139 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
27 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
210 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
244 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
167 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
34 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
75 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
186 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
44 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
65 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
448 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
588 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
182 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
82 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
159 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
206 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
199 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 ...