Tag Info

New answers tagged

1

SharePoint solutions (non-sandboxed) can be deployed at both two scopes "Globally" and "Web Application". As stated by bloger Jan Steenbeek at Deploying solutions to a specific Web Application: "SharePoint has the annoying" (Debatably) "habit of forcing you to deploy globally whenever possible. When you try to deploy a global solution to a specific url ...


1

Short answer: a WSP cannot be deployed on a given Web app. First of all, a WSP can contain different artefacts: _layousts files (application pages, JavaScript, CSS, images...): those "resources" are by definition available to all the SharePoint farm. Features Features that embed a Web part or anything else that requires a web.config modification. In ...


2

Here is the powershell command to deploy WSP to particular web application only : Install-SPSolution your_solution_name.wsp –webapplication http://server1:123 –GACDeployment


0

when do you create the list items? I guess you get 3 more items because you create them at every deployment.


0

You can use MSBuild to build the packages (particularly helpful if you want to automate the build process as part of TFS) https://msdn.microsoft.com/en-us/library/ee231588.aspx or use a plugin like CKSDev for Visual Studio (which i personally use) to give you an option to build packages from the IDE itself. ...


0

If you have a folder of WSPs only on a clean farm, script can be shortened to: $names = get-childitem F:\SPProdSolutionsExtract foreach ($solution in $names) {Add-SPSolution -LiteralPath ("F:\SPProdSolutionsExtract\" + $solution.Name) } I use SharePoint Farm Solution Extractor to get the WSPs from one server and the above script to add them to the farm. ...


1

The Site scoped feature will be available for all site collections in the web application. If you want your feature to appear in all sub sites under site collection, then you should change the Scope to Web. If you want your master page to be automatically set in the sub sites under a root site collection you can use SPWebEventReceiver.WebProvisioned event. ...



Top 50 recent answers are included