Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
9 votes
Accepted

Can i create site columns, content types by publishing a sharepoint-hosted APP

I read that sandbox solution is not preferred in SharePoint 2013 and we should use the app model. So is creating artifacts an available approach to do inside SharePoint apps? Yes there are multiple ...
Robert Lindgren's user avatar
4 votes
Accepted

SharePoint 2019 Solutions with sandboxed code are disabled

I think, the code-based sandbox solutions are no longer going to work in SP 2019. It's one of the most promitent things removed in the latest sever version of the product: After careful consideration,...
Denis Molodtsov's user avatar
4 votes

Programmatically read Excel file in SharePoint 2013 sandbox solution gives permission error

APPROACH 1 First add reference of two COM components. Microsoft Office Object Library Microsoft Excel Object Library excel = new ApplicationClass(); excel.Visible = false; string workbookPath = url;...
Karthik Jaganathan's user avatar
4 votes
Accepted

Unable to activate wsp in Office 365

There has been an outage listed in the admin portal for most of the week regarding sandboxed solutions: SP73009 - Custom Solutions and Workflows - Service degradation Service degradation - Jul 27,...
Eric Alexander's user avatar
4 votes
Accepted

Future of Farm Solutions for Sharepoint

As far as I have information, I doubt anything will change with respect to farm solutions. They exist since the first version of SharePoint and are the most powerful way to develop solutions in ...
Juan Pablo Pussacq Laborde's user avatar
3 votes

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

There is no direct option to convert SandBox .wsp in App. It will be a complete renewal. The APIs you have used in SandBox solutions are also available in SharePoint App. There are two types of App in ...
Atish Kumar Dipongkor's user avatar
3 votes

Unable to activate wsp in Office 365

As per the Microsoft, as shown in the Admin > Service Health currently SharePoint Online service is degraded. Next Update from Microsoft will be on Monday, August 1, 2016, at 8:00 PM UTC. Check the ...
Ronak Patel's user avatar
  • 3,251
3 votes

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

First, It's not possible to have 2 solutions with the same solution ID on the same farm. In your scenario, Unfortunately, you don't have SharePoint solution to open it with Visual Studio and change ...
Mohamed El-Qassas MVP's user avatar
3 votes

Unable to activate wsp in Office 365

Code in sandboxed solution has been depricated by Microsoft in SharePoint Online for some time now, see Deprication of custom code in sandboxed solutions. So that is the most possible reason for what ...
Robert Lindgren's user avatar
2 votes

Security exception when trying to use JavaScriptSerializer

The way I worked around this was to abandon using the Microsoft JavaScriptSerializer class, and instead use the Json.NET open source library. You can add it to your VS project using NuGet package ...
Dylan Cristy's user avatar
  • 12.7k
2 votes
Accepted

SharePoint Online: Sandboxed Web Part vs App

Moving forward you shouldn't be looking at sandboxed web parts as an option anymore. In your case you should go for an app. It might seem so at first, that SharePoint Online is limited, but you can ...
Paul Strupeikis's user avatar
2 votes

Visual studio 2015 Visual Webpart sandboxed

You should use the Office Developer tools outlined here: https://www.visualstudio.com/en-us/features/office-tools-vs.aspx The visual webpart is found in the Office/SharePoint -> SharePoint Solutions ...
Robert Lindgren's user avatar
2 votes

SharePoint 2019 Solutions with sandboxed code are disabled

I agree with Denis, as mentioned this feature has already been removed in SP 2019.
Elsie Lu_MSFT's user avatar
2 votes

Unsandboxing a solution gives a Web Part Error

I suggest to backup your solution , go to project properties , set sandbox solution to false Apply the steps on each project in the current solution Save and reopen the solution again, build and ...
Fabio's user avatar
  • 580
1 vote
Accepted

SP 2016 performance: spucworkerprocessproxy excessive SQL queries

You can find the sandboxed solutions that have been installed in each Site Collection via its Solution Gallery. SharePoint Designer workflows are not packaged solutions (sandboxed or otherwise), ...
willman's user avatar
  • 3,724
1 vote
Accepted

Activate command disabled in Solutions Gallery

Microsoft SharePoint Foundation Sandboxed Code Service compliant on the Front End, Front end with DC or Custom MinRole. If you have any of the above role in your farm then you can enable the auto ...
Waqas Sarwar MVP's user avatar
  • 56.8k
1 vote
Accepted

Create Custom Control in SharePoint Sandbox

you can use SharePoint power tools to create visual webpart....but user control is not possible in sandbox because user controls needs to be deployed in physical folder(layouts)....You can get Visual ...
Siddharth Vaghasia's user avatar
1 vote

Sandbox, does FeatureReceiver work in Office365?

it is gone from Office 365 and you have to use new app model/add-in to create your stuff. this is official statement. While developing sandboxed solutions that contain only declarative markup ...
Waqas Sarwar MVP's user avatar
  • 56.8k
1 vote
Accepted

Sandbox, does FeatureReceiver work in Office365?

Unfortunately yes, you can't use feature receivers. To recap here is what is no longer available for Online: Event Feature receivers Workflows (coded) InfoPath forms (if using code behind the ...
Sergei Sergeev's user avatar
1 vote
Accepted

Faster way to get distinct field values?

I asked this same question over on StackOverflow (because it's *cough* technically off-topic here... shhh...) and I am going with one of the answers over there, but I thought I'd post it over here too ...
Dylan Cristy's user avatar
  • 12.7k
1 vote

Faster way to get distinct field values?

I would suggest you instead of drop down, you should opt for Auto complete text box, and while typing the user can get suggestion.. You can keep it till 3 characters.. it will help in performance As ...
Arsalan Adam Khatri's user avatar
1 vote
Accepted

Retrieve a SPFolderCollection class in descending order

Using: using System.Linq; Try this: spFolders.OrderByDescending(f => f.Item[SPBuiltInFieldId.Created]); or this (faster): spFolders.OrderByDescending(f => f.Item.ID); or this: SPQuery ...
Cecilia's user avatar
  • 984
1 vote

Remove sandbox solution from SharePoint online

Have you tried this Deactivate Sandbox Solution with PowerShell in Office 365 Also have a look to this link too, it contains the way to deactivate solution I am not sure about this as i haven't ...
Aakash Maurya's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible