Questions tagged [sandbox-solution]
A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way
381
questions
1
vote
1
answer
7k
views
Programmatically read Excel file in SharePoint 2013 sandbox solution gives permission error
SharePoint 2013 server, I'm site collection administrator.
I've copied an Excel file into documentlibrary, I like to read the excel file and update custom list with the Excel values.
I've got the ...
1
vote
4
answers
2k
views
Where to deploy scripts in a sandbox solution?
I have a webpart deployed as a sandbox solution. The webpart has resource files, javascript files, css styles, and images. Where would I deploy all these in a sandbox solution (Office 365)?
Thanks!
1
vote
5
answers
8k
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
1
answer
51
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 ...
1
vote
2
answers
3k
views
Change Document Library Webpart's Toolbar Type to 'Show Toolbar' programmatically in 'sharepoint online sandbox solution'
I want to change the Document Library's webpart property 'Toolbar Type' from 'Full Toolbar' to 'Show Toolbar' programmatically.
I am working on Office 365 sandbox solution.I am creating document ...
1
vote
1
answer
5k
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 ...
1
vote
1
answer
221
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
2
answers
2k
views
Adding button to ribbon in CommandUI.Ribbon
I'm trying to add a button to the ribbon, in the same place the default "I Like It" and "Tags & Notes" buttons are located. I the elements.xml file for this feature (SocialRibbonControl) and tried ...
1
vote
3
answers
1k
views
Debugging feature activation in SharePoint Online
I'm working on a sandboxed solution which consists of two features. Locally, I've developed and tested my solution. On my development machine, I can properly deploy my solution to the sandbox, ...
1
vote
1
answer
939
views
Define subsites in webtemplate
Is it possible to define a subsite in a webtemplate? I can't use a site definition because I'm working in Office 365 - SharePoint Online.
Wrong approach:
I thought about activating a site-feature in ...
1
vote
2
answers
1k
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
1
answer
985
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 ...
1
vote
1
answer
111
views
SharePoint Online: Sandboxed Web Part vs App
I have a requirement to have some custom functionality within my SharePoint Online page.
I am currently considering an app or a sanboxed web part.
Here are my notes so far:
sandboxed web part
on-...
1
vote
1
answer
632
views
Is creating a Timer Job in SharePoint 2013 as a farm solution , a deprecated approach that i should avoid
I want to create a timer job in sharepoint 2013, the purpose of the timer job, is to loop through my list items and do these two actions:-
Check if the "Review Date" of an item is met (Review date = ...
1
vote
2
answers
648
views
Only Site Collect Admin can deploy SharePoint?
I am trying to deploy a SharePoint 2010 project onto an SP server. When I hit F5 after building the solution, the output says that "Only a site collection administrator can activate or upgrade ...
1
vote
2
answers
956
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 ...
1
vote
1
answer
1k
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
1
answer
1k
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
2
answers
1k
views
How to copy one custom list to another custom list (approximately 600 items)
I have one master list from which I wish to query and create a subset of this in a new custom list. The code I have so far works, but it is extremely slow and occasionally hits the hard limit of the ...
1
vote
1
answer
807
views
Sandboxed solutions get all sharepoint lists in sitecollection
I am working with sandboxed solutons.(VS2010 C#) I need to retrieve all lists present in the site collection. I am able to get the lists from the site but not from entire sitecollection like subsites
...
1
vote
4
answers
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
1
answer
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
1
answer
204
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
1
answer
126
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
1
answer
618
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
1
answer
2k
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
3
answers
132
views
Solutions and Office.com
Does anyone know when/how office.com will integrate with sandbox solutions
Google
http://www.google.com.au/search?q=sharepoint+solution+office.com&rls=com.microsoft:en-au&ie=UTF-8&oe=...
1
vote
1
answer
5k
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
1
answer
41
views
SP 2016 performance: spucworkerprocessproxy excessive SQL queries
A recent run of performance counters on our SP 2016 on prem installation showed a very high value for sharepoint foundation(spucworkerprocessproxy)\executing sql queries -- think millions! Subsequent ...
1
vote
1
answer
28
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 ...
1
vote
2
answers
848
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
1
answer
10k
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
2
answers
2k
views
Using Code in SP2013 sandbox solutions
I inherited a sandbox solution deployed to an SP2013 and I am currently struggeling to add a new feature version.
Somewhere I read that sandbox solutions are no longer soupported in 2013 - but I ...
1
vote
1
answer
961
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
1
answer
1k
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 70+...
1
vote
1
answer
683
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
2
answers
652
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
1
answer
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
1
answer
69
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
1
answer
240
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
3
answers
265
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
1
answer
1k
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 can'...
1
vote
1
answer
200
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
1
answer
258
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
2
answers
5k
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
1
answer
837
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
2
answers
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
2
answers
847
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
1
answer
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
1
answer
187
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 ...