Thursday, February 28, 2013

Tips for Managed Metadata in SharePoint 2013


  • To prevent Enterprise keyword fields from offering suggestions from a team set then unckeck this setting 



  • Office 2010/2013 can integrate with Managed Metadata site column
  • If you want to use Content type hubs then you need to activate this site collection feature :Content Type Hub Syndication feature.



Wednesday, February 27, 2013

The managed metadata service or connection is currently not available SharePoint 2013

After I created Managed metadata service in SharePoint 2013 I got the following error

I forgot to start the service in Manage Services on Server so to fix this do the following :

  1. Go to Central Administration >> Manage Services on Server
  2. Start Managed Metadata Web Service
  3. run IISReset

Monday, February 25, 2013

Enable Anonymous Access in SharePoint 2013

Enable Anonymous Site Access in SharePoint 2013 is same as SharePoint 2010 ( check this link )  but there is one more option which ensure the anonymous users cannot interact with the anonymous site using Client Object Model without Remote Interfaces permission and this add more layer for protection.

Sunday, February 24, 2013

Tips for SharePoint 2013 PowerShell

As Administrator , he can perform most of administration jobs from UI but with SharePoint 2013 there are some changes required only PowerShell like Modify Search topology or Configure Request Management...
  • Still you can use stsadm commands with SharePoint 2013
  • To grant the users permission to run the commands grant them the following :
    • Member of SharePoint Shell Access role
    • Memeber of local security group (WSS_ADMIN_WPG)
  • To get list of stsadm commands , run the following :
  • stsadm
    
  • To get list of commands in SharePoint 2013 PowerShell , run the following :
  • Get-Command
    
  • To get list of commands with filtering , run the following to get commands for SPWeb only:
  • Get-Command -Noun SPWeb
    
  • To get list of commands start with , run the following :
  • Get-Command -Noun SPW*
    
  • To get help about the command , run the following and you can pass -Examples or -Full or -Details for more information :
  • Get-Help Get-SPWeb
    
  • To get the command object or objects wrap it with ()
  • (Get-SPSite http://sps2013).RootWeb.Lists | ForEach-Object {$_.Title}
  • You can dispose SPWeb or SPSite using for example $site.Dispose() or can use like using keyword in C# (wrapping the whole script) with Start-SPAssignment -Global and Stop-SPAssignment -Global
  • To Get Correlation ID from logs file , run the following :
  • Get-SPLogEvent | ?{$_.Correlation -eq "<ID>"}