Questions tagged [wsp]

WSP (SharePoint Solution Package) is a CAB file with a .wsp file-name extension that contains all the files that must be deployed on the front-end Web server and a set of XML-based installation instructions. Windows SharePoint Services provides a rich infrastructure that simplifies deployment of solution packages in a Web farm environment.

102 questions
1
vote
0 answers

Better saving and deploying site as wsp or programmatically creating lists, content types etc. in event receiver?

In Sharepoint 2010 it is possible to save a site as a wsp solution package. In my latest project a site consists of several subsites, lists, content types, permission groups views and so on. Creating all these things programmatically in a feature…
elsni
  • 1,953
  • 2
  • 17
  • 35
1
vote
1 answer

How to create a WSP from Visual Studio?

I'm new to Sharepoint and Visual Studio. I want to understand which is the proper way to create a WSP using Visual Studio. The WSP must have this content: Folder ISAPI which contains service.svc file; manifest.xml file; myLibrary.ddl file; Which…
Kench
  • 11
  • 2
1
vote
1 answer

How to execute powershell script from server1 for deploying wsp in server2

I am trying to remotely deploy wsp file present in server2 by running a powershell script in server1. I am able to successfully log in to the server2 through server1 using the below command: $password = ConvertTo-SecureString "password" -AsPlainText…
1
vote
1 answer

Importing 2 custom lists in a sharepoint feature, 2nd list taking on the same custom fields as the first

I have a MOSS 2007 wsp solution that I am building with WSPBuilder, that contains definitions for 2 custom lists. In my elements.xml file, I have a and a node for each list. However, when I activate the feature, both custom lists have the custom…
Bob Lauer
  • 845
  • 1
  • 7
  • 19
1
vote
1 answer

Deploy custom code to Sharepoint 2010 remotely?

I'm relatively new at creating custom content for Sharepoint 2010 and have been having some difficulty understanding how to get non-design related components (ie. web parts, custom classes, ...) into a Sharepoint site. I have created a new visual…
Apathor
  • 15
  • 9
1
vote
1 answer

How can I build WSP files (SharePoint 2013 Web Part packages) with TeamCity

I am automating the build of a Sharepoint 2013 Web Part using TeamCity 9.1.4 The build runs fine and creates the DLL output. How can I make TeamCity create WSP files (same output as clicking Deploy on Web Part project in Visual Studio)? I am…
AllWorkNoPlay
  • 454
  • 1
  • 4
  • 20
1
vote
1 answer

Create SharePoint WSP without DLL?

I'm trying to build a WSP using the Visual Studio 2013 template for SharePoint - without it including the primary DLL of the project. I tried removing AssemblyInfo.cs and all the references, it still builds the DLL and includes it in the…
JohnKoz
  • 908
  • 11
  • 21
1
vote
2 answers

upload site template wsp file powershell

I am using SharePoint 2013 and i want to create some spweb from a site template... I have created a site and added my desired content and i saved that site as template, then went to solution gallery and downloaded the .wsp file. Now, i need to…
Haithem KAROUI
  • 1,533
  • 4
  • 18
  • 39
1
vote
2 answers

Activate a solution (.wsp) programmatically in Office 365 (Sharepoint online) site collection

I have a .wsp file uploaded into the Solution Gallery of a site collection created in Office 365. This solution is not activated and I want to activate it programmatically. The below code is an example on how to achieve it for a solution file in an…
RAHUL
  • 167
  • 5
  • 16
1
vote
1 answer

How to create SharePoint Site definition with custom lists using WSPBuilder?

I'm using WSPBuilder and I want to create a site definition this site definition contains some custom list definition (some list creates based on "Custom List" template). The site contains also some files the will copied to _layouts folder (which I…
Ahmed Magdy
  • 5,956
  • 8
  • 43
  • 75
1
vote
1 answer

consensus score and WSP score in python

if I have 3 DNA sequences and I want to evaluate them by some functions: seq1='AG_CT' seq2='AG_CT' seq3='ACT_T' How can I calculate the consensus score and the weighted sum of pairs score (WSP score) of this three DNA sequences in…
user3184809
  • 173
  • 7
1
vote
2 answers

How to deploy and activate SharePoint solution in SharePoint Server 2010 using web services?

In SharePoint 2010, site templates (.stp files) are deprecated. Instead, solutions (.wsp files) are used to achieve the same effect, but also beyond that. Uploading .stp file and using it was straight forward in MOSS and WSS. However, in SharePoint…
Boris
  • 9,986
  • 34
  • 110
  • 147
1
vote
2 answers

Solutions/features for editions of a commercial SharePoint product

Assume for a moment that you are creating a commercial product for SharePoint. This product will be offered in both Community (free) and Enterprise (pay) editions. The code base for the Community edition is a subset with minor deltas all handled…
Jason Weber
  • 1,472
  • 9
  • 16
1
vote
3 answers

can I deploy my wsp using central admin and avoid login to development server

I need on clarification that I have a development server where according to the policy I shouldn't login and run the commands. So, is there any way that I can deploy my solution using central admin just like as we did through power shell commands. I…
Nazish Ali Rizvi
  • 175
  • 6
  • 15
1
vote
2 answers

SharePoint 2007 WSP Deployment Best Practices

I'm building a few WSPs (a custom web part and a branding wsp both scoped to site collection level) using WSP builder on VS2010. Our SharePoint 2007 Farm contains two Web applications. I'd like to know whether deployment of a WSP to a particular…
user574204
  • 33
  • 2
  • 11