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

1
vote
0answers
14 views

After deploying the Visual studio workflow in SP2013 breaking instances of in progress workflows

I have been working on developing visual studio workflows for SP2013. This workflow is associated with a document library. I have noticed that each time i deploy the workflow it is breaking the ...
0
votes
0answers
21 views

How to create a custom ribbon button in Sharepoint 2013 using visual studio 2013

How can we create a custom ribbon button using a farm solution, which gets enabled when an item in the document library is selected?
0
votes
1answer
12k 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
36 views

What are the available approaches to programmatically create site columns and content types in SharePoint 2013?

I want to create some site columns and content types programmatically, since I need to create some site columns with the same display name as existing columns, and this can not be done using the CA ...
0
votes
2answers
39 views

Sandboxed Vs Farm solution to create site columns using visual studio

I find this article which describe how i need to create site columns programmatically using visual studio https://msdn.microsoft.com/en-us/library/ee231593.aspx. they mentioned that I should use the ...
0
votes
1answer
29 views

What determine if a farm solution need to be activated at each site collection or not

I am totally confused on how WSP files need to be deployed and activated inside SharePoint 2013.now I have the following three scenarios where i dealt with WSP files inside my SharePoint 2013 :- I ...
0
votes
0answers
71 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). ...
1
vote
3answers
42 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 ...
0
votes
0answers
12 views

Event Receiver deployed as a sandbox solution throws exceptions

I have deployed an event receiver as a sandbox solution to production. This is event receiver executes on ItemUpdated event. The code runs well in development server as a sandbox solution but throws ...
1
vote
1answer
49 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 ...
0
votes
0answers
30 views

time out during solution installtion [duplicate]

I am trying to install a product named "Bamboo Wiki Publisher" insdie my sharepoint 2013 enterprise server. but the installtion fail and the installtion wizard showed the following error:- ***** ...
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
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 ...
3
votes
2answers
651 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 ...
1
vote
1answer
36 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 ...
0
votes
1answer
49 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?
0
votes
1answer
123 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
37 views

After retracting a solution the Sharepoint 2010 farm displays error

"The DataSourceID of 'TopNavigationMenuV4' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found."
3
votes
2answers
127 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("\\", ...
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 ...
1
vote
1answer
87 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 ...
0
votes
2answers
67 views

how to deploy .wsp to all servers in the Sharepoint 2007 Farm

What is the stsadm -o command for deploying .wsp solution file into all servers in the SharePoint 2007 Farm? My second question is: How i can check with already deployed .wsp solution if it is ...
1
vote
1answer
459 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
0answers
90 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 ...
3
votes
4answers
93 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 ...
1
vote
2answers
177 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 ...
0
votes
2answers
286 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
425 views

Farm solution deployed to my web application , is not available to new site collections

I have a .wsp Farm solution deployed to my web applications, as follow:- I have created this solution using VS .Now inside my current web application I have 2 site collections. Old site ...
0
votes
0answers
40 views

Modifying a custom Application Page in a Document Library throws Exception

We have a SharePoint (2013) Solution where we put ASPX Pages in Modules, which in turn are automatically deployed in a Document Library. Those files work fine with the Code behind Assembly that is ...
0
votes
0answers
28 views

How to get all list titles on a page

I need to get all of the list titles on a SharePoint 2013 page and display them in a properties box for editing so that a person can select which list to bind to. Im using site.rootWeb.Lists and its ...
0
votes
1answer
106 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
74 views

Change list template from 2010 version to 2013

Similar to: How to migrate list template from 2010 to 2013? I've old farm solution with list schema & list instance. After deployment, list has old 2010 look, and is rendered on server side: ...
0
votes
2answers
327 views

Changing Mode from BrowseDisplayMode to Edit Mode

I have a custom webpart, i am trying to get to do a one-click transition from WebPartManager.BrowseDisplayMode to SPControlMode.Edit. Unfortunately, there is no direct means of transitioning between ...
0
votes
2answers
300 views

Sorry, something went wrong Could not load file or assembly

I was reading this link which provide a solution to a redirect problem inside my SharePoint enterprise wiki site collection:- ...
0
votes
3answers
264 views

Creating public properties in sandboxed webpart solutions

I'm trying to port a farm solution to a sandboxed one, and I can't figure out how to port this piece of code: [ToolboxItem(false)] public partial class vClockPartSB : ...
0
votes
1answer
2k views

Access denied in powerschell script for Add SPSolution

I have a Windows Server 2012 Standard, named DC. This server is a Domain Controller. I have Sharepoint 2013. The domain is DEVRSG.COM. I log on in DC machine using DEVRSG\Administrator, is Domain ...
1
vote
2answers
715 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 ...
0
votes
1answer
26 views

Farm installation

I will install a sharepoint farm in the following days and I am not sure about the number of servers to be used. My company is not very big but, not so small for a single server deployment. I was ...
0
votes
1answer
28 views

Sharepoint installation in a farm

I have been looking for a guide or another place where there is explanation about how to install sharepoint. I have gone through a lot ow websites and I haven't found useful any of them. I am trying ...
0
votes
2answers
44 views

How to manage single feature for all site collections in multiple web applications?

We have a custom sharepoint solution which we are deploying in standalone environment. Now we have to deploy on farm environment where we are going to create multiple web application and hosting our ...
0
votes
1answer
35 views

Extracted solution dilemma

I have extracted a solution created by a third party Dev House. When I open it in VS all I get is a page of HEX. Is this right or is it somehow protected? Thanks Powershell used to extract... $farm ...
1
vote
1answer
206 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
997 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 ...
0
votes
1answer
708 views

Deploy Farm Solutions to Online SharePoint 2013

I am migrating SharePoint 2010 project to online SharePoint 2013. I managed to move lists, document libraries..etc. with sandbox solutions. But can any one help me how can I deploy the farm ...
0
votes
1answer
77 views

Web part SecurityException — System.Net.WebPermission failed — Farm Solution

I am getting an error with trying to make a HttpWebRequest inside a web part, I'm getting a SecurityException saying that System.Net.WebPermission failed. While searching for an answer, I came across ...
1
vote
0answers
72 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
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 ...
0
votes
1answer
414 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 ...
4
votes
1answer
609 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 ...
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, ...