Questions tagged [farm-solution]

Farm solutions are packaged as SharePoint solution package (WSP) files that contain assemblies, other non-compiled components, and an XML manifest file. A farm administrator uses Windows PowerShell, the STSADM command-line tool, or the SharePoint Central Administration Web site to install solution packages to the server environment.

Filter by
Sorted by
Tagged with
7
votes
1answer
2k views

Difference between Farm solutions and Provider-hosted Apps

I have been reading quite a lot about SharePoint 2013/2016 lately and I am not sure I am able to see the difference between Farm Solutions and Provider Hosted App. Please correct me if I am wrong: ...
6
votes
1answer
318 views

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

I am working on SharePoint 2013 server and I like the idea of creating site columns & content types using visual studio as this allow me to easily manage the artifacts among my different farms, ...
6
votes
1answer
698 views

How to resolve "Your search cannot be completed because no Search service is available. Contact your administrator for more information."?

I am working with SP2016 Farm solution. I have configured a Search Service on my farm, customized the result source too. When I use the result source in Content Search WebPart on SharePoint Page, it ...
5
votes
1answer
1k views

Using Client Side Rendering for Calendar Views

I'm following the SharePoint 2013 Client Side Rendering: List Views article; but instead of apply CSR code to a ListView, my objective is using CSR for apply it to a SPCalendarView (Default view). ...
4
votes
4answers
2k views

How to programmatically modify item level permissions prior to first save?

I've got a situation where there are strict permissions requirements on an a list of which I already have written a custom form. The requirement is that upon creation, based on metadata, only certain ...
4
votes
1answer
132 views

Confused about SharePoint Solutions

I'm confused about SharePoint Solutions. Could you verify if my understanding is correct? There are only 2 kinds of SharePoint Solutions: Sandboxed Solutions: When a solution package is deployed to ...
4
votes
2answers
152 views

Solution package for a specific webapplication

I have created a solution package using the makecab tool that contains a feature and a DLL which will be installed on the GAC. Its getting deployed globally however I want to deploy it for specific ...
4
votes
1answer
1k views

Farm scope Event Receiver

For some security reasons on one of our farm level solutions, we need to limit some actions using Event Receiver-FileMoving event. However, as known, event receivers can be deployed only by Site or ...
4
votes
2answers
888 views

Add file to layout folder on all frontend servers programmatically

I'd like to save a file programmatically to all SharePoint (front-end) servers in the current Farm. Right now I'm doing the following: string path = String.Join("\\", SPUtility....
3
votes
4answers
8k views

EnsureUser() will return the following error "The specified user could not be found. "

I am working on developing a server side event receiver inside sharepoint on-premises farm 2013. Inside the code i have the following, which will retrieve a string from a drop down list column ...
3
votes
2answers
2k views

how do I copy web application from one farm to another in SharePoint 2013

Farm 1 consists of several custom solutions and a web application that has custom features and a custom master page. I have just configured a Farm 2. I want to export the web application along with ...
3
votes
4answers
139 views

Make lists hidden that users can still contribute to but not see

I have a scenario in which I want users that belong to a site collection to be able to edit a list through an application but not see the list itself. I have made a farm solution in SP2010 that is ...
3
votes
1answer
1k views

Anybody tried Farm solution in SharePoint 2019 on-premise?

It is about SharePoint 2019 Preview (on-premise, server edition, not Online) Internet says that code-based sandboxed solutions are deprecated. But I can't see anything about farm(full-trusted) ...
3
votes
1answer
481 views

Does Create Content Type need to be a farm solution?

I've found a couple of examples of creating a content type using visual studio. http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html http://msdn.microsoft.com/en-us/...
3
votes
1answer
103 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-...
3
votes
2answers
448 views

Differences between SPItemEventProperties.SiteId & SPItemEventProperties.Web.Site.ID

I am working on an Event Receiver inside my sharepoint 2013. the event receiver will get fired when an item is Added and it is scoped at the Web level. but i am not sure if there are any differences ...
3
votes
1answer
602 views

Access is denied. inside my ItemAdded event receiver

I am working on SharePoint Server 2013 Enterprise, and I have implemented the following event receiver which is scoped at the Web level, and will fire when a list item is added:- public class ...
3
votes
1answer
110 views

How making changes to a third-party solution file.wsp

I have a third-party solution "file.wsp" that I don’t have the source code for it, I want to make a change to it, how can I tell it to tell me articles and examples? Thanks to all.
3
votes
2answers
2k views

SharePoint 2016: Deploy Error - Unable to load one or more requested types.Retrieve the LoaderExceptions property for more information

I have created basic SharePoint 2016 Empty Project farm solution in which I have just created one custom list. When I am deploying the solution, got the error: Unable to load one or more requested ...
3
votes
2answers
476 views

Best approach to re-use an Event receiver among multiple subsites and multiple lists

I am working on SharePoint 2013 team site collection, and I have the following architecture - A team site collection which contain 15 sub sites. Each subsite represents one of our customers. On each ...
3
votes
2answers
2k views

Is SPUtility.MakeBrowserCacheSafeLayoutsUrl Method useful at all?

I've noticed a solution that might help you to control caching of javascript files. There is a method SPUtility.MakeBrowserCacheSafeLayoutsUrl. MSDN says this method: returns a new URL that will not ...
3
votes
1answer
2k views

Deploying a .wsp File with PowerShell

I am attempting to install a farm solution with a Jenkins job so I need to do everything through PowerShell. So with PowerShell scripts I can: Create a web application Create a site collection Deploy ...
3
votes
0answers
200 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
0answers
43 views

Changing calender view with month scope sp2013

I want to change the calender view to a week view. I know the default way through the webpart setting. But the week view scope is to big. Is it possible to get just one part of the month view like in ...
3
votes
0answers
514 views

Why does WSP Deployment Type 'ApplicationServer' require features to be manually installed?

When I create a WSP with Deployment Type set to WebFrontEnd and deploy, all of the features contained within are automatically installed. Features that are set up as ActivateOnDefault="TRUE" (Farm or ...
2
votes
3answers
8k views

Update a existing deployed farm solution

I've deployed a farm solution to a test environment by following the Technet Deploy solution packages page - works well. But development continues, and I need to redeploy. When I follow the process ...
2
votes
3answers
4k views

Deploying the same WSP file with a different name

I have created wsp file using Visual Studio 2010 that servers an application pages in site. My solution file name is "Portal.wsp". I have already deploy this solution file on my server it running ...
2
votes
1answer
4k views

Modifying ListForm Save & Close button through JsLink

I am currently porting a internly used SP Farm-Solution from 2010 to 2013 and am struggling with the new concept of JsLink. In the 2010 solution we had overwritten the RenderingTemplate ListForm to ...
2
votes
2answers
398 views

unable to get all the term sets under a term group inside my event receiver

I am developing an ItemUpdated event receiver inside my on-premises farm 2013. and inside my event receiver i want to get all the term sets under a term group. so i define the following :- using (...
2
votes
1answer
1k views

How to move C# wsp from SharePoint 2010 to SharePoint Online

I want to migrate a SharePoint 2010 .WSP (developed in C#) solution in Farm Basis to SharePoint Online. Please advice how to do this. I know in SP online Site Setting --> Solution we can upload the ...
2
votes
2answers
5k views

Add multiple farm solutions using power shell (Not Deploy)

I am trying to migrate around 200 wsps from one SharePoint 2010 farm to another. I have already copied the wsp files to a folder in the new farm. I need a powershell script that can take the path of ...
2
votes
1answer
115 views

Could a bigger sleep time be the solution for a failed update?

I have a problem with a update of a solution on farm. So we have changed some features and added two features. The main changes were done to the main feature of the solution. On our test cloud it ...
2
votes
1answer
246 views

Recommended way/Best Practice to create a sub-site with RunWithElevatedPrivileges inside my Event Receiver

I am a bit confused if i am breaking the sharepoint best practice inside my sharepoint 2013 event receiver. now i have the following general requirements:- site collection url = http://servrname/kb/...
2
votes
1answer
57 views

how to Deploy farm solutions in release mode [closed]

how to deploy farm solutions in sharepoint 2010 farm in release mode Package the solutions in Release configuration. Deploy farm solutions in Retail mode
2
votes
1answer
106 views

Feature in SharePoint farm solution not showing web part items

I have created a farm solution and added existing SharePoint items like Columns, CT, Event Receivers, Web parts. While adding items to features(created manually) I can get site columns, CT, Event ...
2
votes
1answer
231 views

Transition to Add-in & SharePoint Framework

Taking the case of a company which works on SharePoint since a while and have engineers trained to develop full-trust solutions. So, they develop full-trust solutions to add functionalities to its ...
2
votes
1answer
536 views

CSOM in FarmSolution

I am having troubles to get it running and wanted to ask you if you know if it is possible to use CSOM in SP 2013 Farm Solutions? I constantly get an 401 unauthorized exception. Here is how I create ...
2
votes
1answer
697 views

How to Deploy Custom list definition in Central admin so that it appears in all WebApps I create?

I have created a custom list definition with my custom fields Now I want to deploy my feature in farm level i.e 1 When I deploy my solution in central admin as a farm solution that particular list ...
2
votes
1answer
418 views

Best Practices for re-scheduling and starting the specific timer job using code

I have a situation where some of the code needs to re-schedule the specific timer job and start it according to new schedule. The timer jobs actually writes (need permissions) into the SharePoint ...
2
votes
1answer
3k views

How can I ensure that an Assembly is deployed to the GAC on all Servers in a Farm

I have a SharePoint Solution that contains an Assembly that contains an SPTimerJobDefinition that must be deployed to the GAC on all Servers in my farm. I have configured my farm in the following way....
2
votes
0answers
181 views

Sharepoint 2016 - Subsite creation - There is no memory

I have a problem with SharePoint 2016 that I am struggling with. I cannot find the reason why, but when I try to create a subsite, I always get the following error: There is no memory on the server ...
2
votes
1answer
226 views

SharePoint 2013 solution deployment stuck with Not having access to DB

While installing the solution on production it was stuck there for longer time. When ran the stsadm -o enumdeployments command, it is giving me following error <State>Pending</State>...
2
votes
0answers
443 views

SP2010 Custom action runs sandboxed but not as farm solution

Short version: Which changes need to be made to convert a custom workflow action, developed in VS2010, from a Sandbox to a Farm solution. Assume it is a placeholder with no logic added yet. Long ...
2
votes
1answer
584 views

Add content type from sandboxed solution to list definition (farm solution) does not work

I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type. I want to add this content type to my document library definition in CAML. But when I ...
1
vote
2answers
2k views

How to trace the ListAdded event for the entire SharePoint 2010 farm?

In our SharePoint 2010 environment, we want to enforce the users to choose the option "show user names in the survey list" (survey list) however there may be a time when user may choose "No" to this ...
1
vote
2answers
20k views

Deployed solution does not appear in site collection features.

I have a custom SharePoint solution that I am attempting to deploy to a very simple standalone SharePoint server installation. The installation has only two web applications, one for Central Admin ...
1
vote
2answers
404 views

Security Exception attempting to deploy a solution

I must have upset SharePoint somehow as I can't use the Central Administration to deploy an installed solution. Everything I do returns the wonderful '[SecurityException: Access denied.]' error. I'm ...
1
vote
3answers
10k views

get a list of farm solutions

Today I went to Farm solutions page from CA. There are about 30 of them that are not in use (at least thats what I think). I could off swearned that I seen a powershell script somewhere. Basically, I ...
1
vote
2answers
111 views

Accidently retracted two solutions, but timer is not running

I've accidently retracted two solutions from the farm in WSS3 but luckily the timer is not running so the jobs did not run. Now when I go to Solution Management I see "Error" for their deployment ...
1
vote
2answers
184 views

Can i apply JSLINK to my WebPart inside my Event Receiver

I have an event receiver which get fired when and item is create. the event receiver will create a new sub-site based on a site template. here is part of the code which is responsible for creating the ...