Category: SharePoint

Configure Workflow for SharePoint 2016

1. Configure App Management Service

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "AppManagementServiceApplicationPool"
$svcAppName = "App Management Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$dbName = "AppManagement"
$svcAppProxyName = "App Management Server Application Proxy"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPAppManagementServiceApplication -Name $svcAppName -DatabaseServer $dbServer -DatabaseName $dbName -ApplicationPool $appPool
New-SPAppManagementServiceApplicationProxy -Name $svcAppProxyName -UseDefaultProxyGroup -ServiceApplication $svcApp

2. Configure Site Subscription Service

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "SubscriptionSettingsServiceApplicationPool"
$svcAppName = "Subscription Settings Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$dbName = "SubscriptionSettings"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPSubscriptionSettingsServiceApplication -Name $svcAppName -DatabaseServer $dbServer -DatabaseName $dbName -ApplicationPool $appPool
New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $svcApp

3. Install Workflow Manager via Web Platform Installer 5.0

4. Configure Workflow Manager via Workflow Manager Configuration Wizard

5. Configure SharePoint 2016

$siteUrl = "http://localhost"
$workflowHostUrl = "http://localhost:12291"

Register-SPWorkflowService -SPSite $siteUrl -WorkflowHostUri $workflowHostUrl -AllowOAuthHttp

 

References

 

SharePoint Team Site Best Practices

Step-by-step Creating SharePoint Team Site

  1. Plan Overall Site Architecture
  2. Plan Site Collection Structure
  3. Plan on Web Parts that will make up the Team Site
    • Common Web Parts for Team Site
  4. Decide the Layout of the Team Site
    • Two columns w/ header
  5. Create the Team Site
  6. Configure the Web Parts
    • Create a “Compact View” for each Web Part
  7. Add the Web Parts to the Site
  8. Setup Security for the Site
    • Use Security Groups
  9. Setup Quick Launch Navigation
    • Never present the Site Contents link on the navigation menu
    • Remove “Recents”
  10. Create a Site Template
The best practice is to keep the SharePoint Site structure as flat as possible.
It is best practice to define all custom columns (metadata properties) at the very top site (Site Collection).
The best practice is to never break the inheritance of security from the site the web parts sit on.

Common Web Parts for Team Site

  • Document Library
    • Configure it w/ metadata, instead of folders
  • Calendar
    • Sync to Outlook
    • Color-code
  • Tasks
    • For Project Team
  • Contact List
  • Announcements
  • Links
    • *Promoted Links*
  • Discussion Board
  • Issue Tacking

 

Advanced Configuration

  • SharePoint Project Dashboard
  • Sync SharePoint Task List w/ MS Project
  • Project Risk Register in SharePoint
  • SharePoint External Sharing
  • Change Request Log in SharePoint
  • Calednar Color Coding
  • Calendar Sync w/ Outlook

 

See Also

 

 

“The request message is too big. The server does not allow messages larger than 2097152 bytes.” error

Change the message limit to 2GB

$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$settings = $contentService.ClientRequestServiceSettings
$settings.MaxReceivedMessageSize = 2147483647
$settings.MaxParseMessageSize = 2147483647
$contentService.Update()

Reset the settings

$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$settings = $contentService.ClientRequestServiceSettings
$settings.MaxReceivedMessageSize = 0
$settings.MaxParseMessageSize = 0
$contentService.Update()

 

Configure User Profile Service Application in SharePoint 2016

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "UserProfileServiceApplicationPool"
$svcAppName = "User Profile Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$profileDbName = "User_Profile"
$profileSyncDbName = "User_Profile_Sync"
$socialDbName = "User_Profile_Social"
$svcAppProxyName = "User Profile Service Application Proxy"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPProfileServiceApplication -Name $svcAppName -ProfileDBServer $dbServer -ProfileDBName $profileDbName -ProfileSyncDBServer $dbServer -ProfileSyncDBName $profileSyncDbName -SocialDBServer $dbSever -SocialDBName $socialDbName -ApplicationPool $appPool
New-SPProfileServiceApplicationProxy -Name $svcAppProxyName -ServiceApplication $svcApp

See Also

 

Configure Subscription Settings Service Application in SharePoint 2016

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "SubscriptionSettingsServiceApplicationPool"
$svcAppName = "Subscription Settings Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$dbName = "SubscriptionSettings"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPSubscriptionSettingsServiceApplication -Name $svcAppName -DatabaseServer $dbServer -DatabaseName $dbName -ApplicationPool $appPool
New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $svcApp

See Also