Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sandbox-solution]

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

1
vote
1answer
781 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
635 views

“ Exception from HRESULT: 0x8107054A ” when activating wsp on Office365 Sandbox Solution

I am uploading my wsp file and when I am trying to activate it getting this error: Exception from HRESULT: 0x8107054A TECHNICAL DETAILS Troubleshoot issues with Microsoft SharePoint ...
1
vote
1answer
1k 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
0answers
16 views

Sandbox service permissions required to activate a solution on an RBS enabled database

We have a Remote Blob Storage (RBS) enabled database. When trying to activate the CRMListComponent sandbox solution, an error occured: UserCodeExecutionProxy call pipeline failed with execution. ...
1
vote
1answer
32 views

How can I have 2 versions of the same .wsp activated on SharePoint 2016

Scenario: SharePoint 2016 MinRole Farm with 1 FE with Distributed Cache and 1 App with Search. Dev and Prod farms with the same specs. Steps in Test Farm: Create a site using activated custom ...
2
votes
1answer
71 views

Activate command disabled in Solutions Gallery

Scenario: SharePoint 2016 MinRole Farm with 2 Servers. I tried starting Microsoft SharePoint Foundation Sandboxed Code Service in one and in both servers as I found this: Can't Activate Solution ...
2
votes
1answer
20 views

Unsandboxing a solution gives a Web Part Error

I'm extremely new to SharePoint and most definitely not our company's SharePoint dev. They set me up with a WebPart and its project where I can write some code. The page was working perfectly fine ...
1
vote
0answers
17 views

SandBoxed Solution - Assembly Missing

We have a sandboxed solution on a site collection. It is activated, and it has a custom assembly. This assembly is inside "C:\ProgramData\Microsoft\SharePoint\UCCache" as described in the ...
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
0answers
17 views

All the custom solutions, Custom web parts, Infopath forms with code behind have stopped working

I am working on a sharepoint 2010 application. All the applications were working fine until this monday when all the custom web parts and infopath forms with code behind have stopped working for ...
4
votes
1answer
2k 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
2answers
576 views

Pass data from client side(javascript) to server side in Sandboxed solutions

I have a sandboxed solution in which I need to pass data from javascript to server side. Can anyone suggest me with help links or any ideas?
0
votes
1answer
25 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.
6
votes
1answer
3k 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: SPUtility....
1
vote
0answers
15 views

Cannot select the sandbox cube from a PowerPivot workbook as a data source for PerformancePoint

I have a bi site in SharePoint that has a PowerPivot workbook with a data model. I have obtained the connection string and trying to add a data source but after I enter the connection string the ...
2
votes
1answer
1k views

Generating User Security Context from a SharePoint Online workflow Activity

I have following SharePoint components-- A SharePoint online site with bunch of document libraries. Deployed workflow custom actions using visual studio and sandbox solution. Created provider ...
17
votes
3answers
25k 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 ...
3
votes
3answers
2k views

Unable to activate wsp in Office 365

Today my Office 365 account is behaving strangely. Yesterday I was able to activate my wsp solution using activate button from the ribbon in solutions gallery. Today I can not activate my wsp ...
4
votes
1answer
7k 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 xmlns="http://schemas.microsoft.com/...
5
votes
3answers
4k 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 ...
2
votes
3answers
476 views

Upgradable Sandboxed solution without DLL

I have a sandboxed solution with these items: A module Elements.xml (ElementManifest) HelloWorld.txt Package MyPackage-1.0.1 A feature Scoped for site In addition the solution is set to Include ...
3
votes
1answer
90 views

Future of Farm Solutions for Sharepoint

As per the new MS article about phasing out of SandBox solution and moving on to APP only solution, what is the future of Farm solution. As per the below article - https://technet.microsoft.com/en-...
0
votes
2answers
987 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); ...
1
vote
0answers
17 views

Can't get sandboxed 2013 web part to emit client side JS for validation

I am developing a sandboxed feature for 2013 that includes several custom aspx pages, each with its own sandboxed web part through the SPUserCodeWebPart control. This project has had a long and ...
0
votes
0answers
414 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
2answers
95 views

SharePoint Sandbox solution on subsite

I try add sandbox solution to SharePoint 2013 on subsite with event reciver on list, and don't work ;( On Root Web is O.K. event fired and do something what I wont, but when I activate feature on ...
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 ...
0
votes
1answer
213 views

SharePoint Online “Delegate Control” Implementations

Are sandboxed solution custom actions and javascript the best way to replicate the old on-prem functionality of delegate controls? I know sandboxed solutions with code aren't a possibility in SPO ...
3
votes
0answers
174 views

Why should we set Scope to 'Web Application' in Timer Job?

Though we are activating feature from web application still web(sub site) or site collection comes under the Web Application scope , what is specific reason to select scope as "Web Application" Thanks....
3
votes
1answer
50 views

Add list item from web part programmaticaly

I want to prevent users from accessing a list, but to allow them to use web part programmed in C# to add items to the list. I tried impersonation and RunWithElevatedPriviliges but these are available ...
1
vote
5answers
5k 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 ...
3
votes
1answer
1k 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 ...
1
vote
1answer
25 views

Create Custom Control in SharePoint Sandbox

I came across to a requirement to create User Control via sandbox. I had done it previously using FARM solution. But finding no way to do it with sandbox. Can any one help and guide me how can I ...
0
votes
2answers
161 views

Download documents in a zip from a page using in SharePoint online

I have created a product page in SharePoint Online Pages Library. It has some standard field, e-g Title and Comments. It also has a Content Query WebPart that displays a list of linked files stored in ...
1
vote
2answers
145 views

Transferring site content from Sandbox to Production

So I have been tasked with taking an existing Sandboxed Sharepoint (2013) that my company uses, and transferring all the content to a Production Sharepoint (2013). I'm trying to read into it, but I ...
2
votes
2answers
73 views

Sandbox, does FeatureReceiver work in Office365?

Sandbox with code are disabled in SharePoint Online. Does it mean that I cannot use Feature Receivers? I have a sandbox solution with reciever, it works ok but if I check "Include assembly in ...
1
vote
2answers
498 views

Faster way to get distinct field values?

I have a web part, and I am trying to populate a drop-down control with the unique/distinct values from a particular field in a list. Unfortunately, due to the nature of the system, it is a text ...
1
vote
1answer
213 views

Retrieve a SPFolderCollection class in descending order

I have a Sandbox webpart which retrieves a collection of Folders in a Library. The library contains the following sample data: | Name | Created | ------------------------------- | ...
2
votes
0answers
874 views

Multiple Sandbox Worker Process Proxy spawning

I am setting up a new SharePoint 2013 dev vm (SP2013 SP1 and Sept 2014 CU) and I have enabled the Sandboxed Code Service in Central Admin. This causes multiple sandbox worker process proxy (...
5
votes
1answer
201 views

How do I migrate a SandBox solution into a SharePoint App?

Microsoft appears to be removing code-based sandbox solutions in SharePoint online. I have been using an on-premise SharePoint Enterprise solution since 2012 that included a code-based .wsp sandbox ...
1
vote
0answers
34 views

.aspx page deployed to library through module does not pull masterpage

I am trying to deploy a "plain" .aspx page (no code-behind) to a library in a SharePoint site using a module (web scoped feature). I don't even really need an .aspx page, all I really need is an HTML ...
2
votes
1answer
191 views

Security exception when trying to use JavaScriptSerializer

I am trying to use the JavaScriptSerializer class in an event receiver which is part of a sandbox solution. When trying to use the class, I get a System.MethodAccessException with the following ...
1
vote
0answers
114 views

Unable to find SPUCWorkerProcess.exe while debugging Sandbox Solution

I am creating Sandbox solution to attach Event Receiver to Form Library.I want to debug the solution but it is giving me error Unable to attach process 'SPUCWorkerProcess.exe' is not running on '...
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 sandbox event receiver to the production site ...
2
votes
4answers
5k 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 doesnt give (me) the answer. public class ...
1
vote
1answer
926 views

Visual studio 2015 Visual Webpart sandboxed

I want to create a visual webpart sandbox solution, I found this tool: " Visual Studio 2010 SharePoint Power Tools" who don't work with Visual studio 2015. Do you have an idea, which tool should I ...
3
votes
1answer
76 views

how to get the files from active folder… the folder name is in hte URL - rootfolder

I've a document library and within this document libary I have sub-folders (no subfolders further). There is 1 documentlibary called DocumentACC and this document libary contains Sub-folders as you ...
1
vote
2answers
37 views

Where are Sandboxed solutions being used?

Within many of our SharePoint 2010 Site Collections, we have the Solution Gallery. Within these Solution Galleries, there exists Sandboxed solutions that are active and used with each Site Collection....
0
votes
2answers
3k views

Sharepoint 2013 - video and image responsive carousel

I am looking for some advice on a solution for a media carousel that is responsive and will hold and display video and images. I have looked at various solutions over the web but they seem to fall ...
0
votes
2answers
3k views

ItemAdding event not firing when submitting InfoPath form to form library

I created an event receiver in Visual Studio to handle three events in a form library: ItemAdding, ItemUpdating, and ItemDeleting. ItemUpdating and ItemDeleting work as expected when debugging, but ...