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 ...

learn more… | top users | synonyms

4
votes
4answers
1k 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
2answers
150 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
573 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 ...
3
votes
4answers
86 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
406 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 ...
3
votes
2answers
577 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
2answers
97 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("\\", ...
3
votes
0answers
364 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
1answer
849 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
1answer
100 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
513 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
398 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
2k 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 ...
2
votes
1answer
400 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
3answers
2k 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 ...
1
vote
3answers
4k 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 ...
1
vote
2answers
354 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. ...
1
vote
2answers
100 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
1k 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
1k views

Where is SPSecurity? Not in Microsoft.SharePoint.dll 15.900.0.0

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.aspx says Microsoft.SharePoint.SPSecurity is in Namespace: Microsoft.SharePoint Assembly: Microsoft.SharePoint (in ...
1
vote
1answer
569 views

How far can I go with SharePoint 2013 Apps?

I am really new to SharePoint 2013 and only worked for a brief period of time in SharePoint 2007 about 5 years ago (so i do not remember much). I have to plan now an extranet and it will probably be ...
1
vote
3answers
33 views

Webpart won't update after deploy

I'm quite new to sharepoint programming and so I ran into a problem. I created a new webpart in my solution and changed it a bit. Next I deployed the whole solution and added the webpart to a newly ...
1
vote
2answers
110 views

what is best practice for automating site structure creation?

I'm working on creating a website in SharePoint. I need a way to automate what I have done until now. For example I have created a web application and two site collections and bla bla. Now I have two ...
1
vote
2answers
47 views

How shall i approach this scenario

I am a asp.net developer but not done sharepoint development before. Below is my scenario: 'Company A' has asked to me to create a new home page for their intranet. 'Company A' is currently using a ...
1
vote
2answers
2k 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 ...
1
vote
1answer
673 views

Updating an uncustomized master page deployed as a wsp solution

I deployed an uncustomized master page as a SP 2010 Server farm solution using these instructions http://plekky.com/blog/Lists/Posts/Post.aspx?ID=11 Now I need to update the master page. I edited it ...
1
vote
3answers
242 views

VS2010 Workflow Update Deployments Failing to Update System Account Codebase

I've been suffering through an issue I haven't managed to find much documentation on over the past several weeks as I've begun working on my first custom workflow project. I have a workflow solution ...
1
vote
1answer
38 views

Solution not deploying after Farm Restart

I launched powershell script for restart the entire Farm. After that, I notice that every time I try to deploy a solution it doesn't finish deploying process. Even if launching Install-SPSolution from ...
1
vote
1answer
28 views

What/Where is the SharePoint App server, where to point the DNS

I am trying to setup the SharePoint 2013 farm for apps. We have 2 farms: Test DB Server Test Central Admin Test Front End 1 Test Front End 2 Prod DB Server Prod Central Admin Prod Front End 1 Prod ...
1
vote
1answer
188 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 ...
1
vote
2answers
654 views

How to handle DLLs in GAC

Lets say I have a third party webpart which uses a DLL and pushes it into the GAC. Moreover I have custom webpart which I developed which also uses the same DLL but in a different version which is ...
1
vote
1answer
663 views

Add solution from within event receiver - how to sort out “access denied” errors?

I'm handling the WebProvisioned event in order to add and deploy a solution that's relevant to the site being created. The solution is being created dynamically based on parameters of the site but for ...
1
vote
2answers
2k views

Reading/Writing Cookies in farm WebParts - SharePoint 2010 Server

I have farm solution Visual web part, with the following write and read cookies methods void writeCookie(Guid thisVoteGuid, string pollID) { HttpCookie pollCookies = new HttpCookie(COOKIE_NAME); ...
1
vote
1answer
74 views

best approach to get and display list items in sharepoint branding site

I have implemented a branded SharePoint site for a customer .The customer wants to have some "dynamic" custom list views e.g fetch 3 items from a specific list and show them in a custom designed box ...
1
vote
0answers
71 views

MVC web api in sharepoint 2013 farm solution

How to consume the MVC web api in SharePoint 2013 farm solution? When I try to consume with httpclient I cannot refer to the assembly WebApiRestService.WebApiClient, it's showing error as not strong ...
1
vote
1answer
318 views

How to Add Custom Action To Task List in SharePoint 2013?

In one of my POC, there is a requirement to create custom action Ribbon menu for Task List. After lot of research I have tried below code snippet in empty module to add custom action. ...
1
vote
2answers
162 views

Fixing managed meta data navigation problem

I have the following :- SharePoint server 2013 web application. the web application contains two site collections of type enteprise wiki. i have enabled metadata navigation for the two site ...
1
vote
0answers
62 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
1
vote
1answer
186 views

Visualstudio 2012 sharepoint workflow toolbox not visible

I want to create a designer custom action in SharePoint 2013. I use visualstudio 2012 but i can't view SharePoint toolbox . I want to create an activity with createtaskwithcontenttype . Thanks
1
vote
0answers
287 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 ...
1
vote
1answer
962 views

SharePoint 2010 deployment scenario for Intranet + HR records

We are planning on using SharePoint 2010 to host our Intranet and want to use it as an electronic document management system for personnel records too. What deployment scenario would be best for us? ...
1
vote
1answer
157 views

Can i create a security group with the proper permissions and have farm account run only as a service account?

On my SP 2007 environment I been trying to have my administrators not use the farm adm account for their administration and use their own credentials. So we started by creating a security group with ...
0
votes
1answer
11k 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 ...
0
votes
1answer
81 views

Difference between Retract solution and Remove solution in SharePoint

In Central Administration if I go to "System Settings > Manage farm solutions" I can see my deployed solutions (via Visual Studio). Clicking on any of my deployed solution takes me to "Solution ...
0
votes
1answer
93 views

Migrating Full Trust solutions to App Model

IS there a way/tool to convert existing Full trust Farm solutions to App Model or we will have to rewrite and re-architect all solutions?
0
votes
2answers
2k views

Access Denied Add-SPSolution [duplicate]

I'm getting this error while adding solution to prod farm... a few weeks ago i found a website that gave me a line to write before launching any add command, but can't find it anymore Secondly, ...
0
votes
3answers
2k 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 ...
0
votes
2answers
150 views

Can I deploy a farm solution to my site collection only

I have created a visual web part using visual studio of type "Farm solution", then I add the wsp file using the following command:- PS C:\Users\Administrator> Add-SPSolution ...
0
votes
1answer
370 views

Upgrading SharePoint from 2010 to 2013 with Farm Solution

I am working on SharePoint multiple versions. One of the my customers is asking for the up-gradation from SharePoint 2010 (foundation) to 2013. I would like to know the below: steps to upgrade the ...
0
votes
1answer
29 views

Deploy assemblies into GAC using SharePoint package

If I have3rd party assemblies in the bin directory of the project and want to deploy them to GAC using SharePoint WSP, how to do it?