programming4us
programming4us
WEBSITE

Sharepoint 2013 : SharePoint Installation and Configuration - Create a New Subsite

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Scenario/Problem: You want to create sites under your site collection.


Solution: Use the New-SPWeb cmdlet from the SharePoint 2013 Management Shell.

To add a new subsite, use the New-SPWeb cmdlet as follows:

New-SPWeb -url <full url of new site> -name <name of new site>
-template <site template to use>

A few switch parameters are available for the New-SPWeb cmdlet:

AddToTopNav

UniquePermissions

UseParentTopNav

The AddToTopNav switch parameter places the new site within the top navigation of the site collection. Using the UseParentTopNav switch parameter replicates the top nav of the site collection onto the new subsite. Creating a site with UniquePermissions forces the site to not inherit permissions from the site collection and only grants the System Account Full Control access.

Listing 1 shows a sample command-line entry for creating a subsite using the Team Site template.

Listing 1. Creating a Subsite in the Root Site Collection


New-SPWeb -url http://sp2013/PSSubSite -name "PS Sub Site"
-template STS#0 -AddToTopNav -UniquePermissions -UseParentTopNav


You can find the site template names using Get-SPWebTemplate. If no template is provided, the site still is created. In this case, after the site is accessed via the browser, SharePoint prompts for the selection of a site template.

Using both AddToTopNav and UseParentTopNav ensures that the new site always appears in the top navigation, as shown in Figure 1.

Image

Figure 1. Using the switch parameters places the subsite in the top nav.

Other  
  •  Sharepoint 2013 : Join a Server to the SharePoint Farm, Create a New Web Application, Create a New Site Collection
  •  Sharepoint 2013 : Install Without a Product Key in the Configuration File, Configure a New SharePoint Farm
  •  Sharepoint 2013 : Prepare the Microsoft SharePoint Installation Module , Install SharePoint Unattended
  •  Sharepoint 2010 : Putting Your Site on the Web - Additional Features
  •  Sharepoint 2010 : Putting Your Site on the Web - Key Terms and Architecture , Richer User Experience
  •  Sharepoint 2010 : Putting Your Site on the Web - Web Content Management (part 2) - Web Publishing 101
  •  Sharepoint 2010 : Putting Your Site on the Web - Web Content Management (part 1)
  •  Sharepoint 2010 : Using an External Data Column, Building a Composite Application
  •  ASP.NET 4 in VB 2010 : Page Tracing (part 3) - Application-Level Tracing
  •  ASP.NET 4 in VB 2010 : Page Tracing (part 2) - Writing Trace Information
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us