Create a Community Site COMMUNITY#0 in a Sub Web SPWeb

Posted on Updated on

If you don’t want to create a site collection for a Community Site, this is your option:

  1. Activate Features over the Site Collection
  2. Activate Features over the Web Site
## SharePoint DLL
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction "SilentlyContinue"
## Set-ExecutionPolicy unrestricted (Just in Case) 
$siteCollection = http://intranet 

### Social Features SPSite ###
$siteF = Get-SPSite $siteCollection 
    Enable-SPFeature -Identity "SocialSite" -Url $siteCollection.Url -Force -PassThru -Verbose
    Enable-SPFeature -Identity "Ratings" -Url $siteCollection.Url -Force -PassThru -Verbose

### Social Features SPWeb ###
$siteF = Get-SPWeb $siteCollection'/corp/community/my' 
    Enable-SPFeature -Identity "CategoriesList"  -Url $siteF.Url -Force -PassThru -Verbose
    Enable-SPFeature -Identity "MembershipList"  -Url $siteF.Url -Force -PassThru -Verbose
    Enable-SPFeature -Identity "AbuseReportsList"  -Url $siteF.Url -Force -PassThru -Verbose

Good Luck 😉


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s