Saturday, May 18, 2013

Issues with co-authoring Documents in SharePoint 2010


If you cannot co-author a Word document or PowerPoint presentation, then one or more of the following reasons may be the cause:
  • The file is using Information Rights Management (IRM) or Digital Rights Management (DRM).
  • The file is checked out.
  • The file is encrypted.
  • The file format is not supported. Only .docx and .pptx file formats are supported. In most cases, you can save the unsupported file format in the supported format.
  • The file is marked as final. The file owner has decided to stop the process of editing or co-authoring the file and the file is now read-only.
  • Certain Microsoft Office group policy settings prevent co-authoring including the following: Disable Auto merge Client Policy, Disable Co-Authoring Server Policy, and Disable Co-Authoring Client Policy.
  • The file contains an ActiveX controls.
  • The file contains certain objects that cannot be uniquely identified, such as an OLE object, a SmartArt graphic, chart, or Ink object.
  • The Word document uses master documents with subdocuments, contains HTML Framesets, or is being published as a blog.
  • The Word document does not have the Store random numbers to improve Combine accuracy check box selected. (On the ribbon, click the the File tab, click Options to display the Word Options dialog box, click Trust Center, click Trust Center Settings to display the Trust Center dialog box, click Privacy Options, and then under the Document-specific settings section, make sure the Store random numbers to improve Combine accuracy check box is selected.)

SP 2010 - Search Refinement Panel properties explained


SharePoint 2010 Search refinement has many properties and typically the following will be helpful when configuring Search

Accuracy Index
The accuracy index plays a major role is generating the refiners.

This settings defines how many items are considered in the creation of refiners. OOB has a value 50. So the first 50 results are considered for generating the refiners. If the search has more than 50 results, those results are not considered for generating the filters and if there is any metadata associated with those results, those will be ignored.

Number of Categories to display

The value defined for this property restricts the number of categories to be displayed in the refinement panel. By default the value is 6, which means only 6 categories will be displayed in the refinement panel. No matter how many refiners are generated. Rest will be ignored. This value is configurable.

Filter Category Definition

This property defines what to display in the refinement panel. The property is a XML data and is configurable. A typical category looks like the following.
<Category    Title="Author"    Description="Use this filter to restrict results authored by a specific author"    Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"    MetadataThreshold="5"    NumberOfFiltersToDisplay="4"    MaxNumberOfFilters="20"    SortBy="Frequency"    SortByForMoreFilters="Name"    SortDirection="Descending"    SortDirectionForMoreFilters="Ascending"    ShowMoreLink="True"    MappedProperty="Author"    MoreLinkText="show more"    LessLinkText="show fewer" ShowCounts="Count"  />

a) MetadataThreshold (Tags & Metadata separation)
The search refinement panel has a property named MetadataThreshold and it will have a 3 for Tags and Metadata category. This means, when we search for a keyword and if the returned result count is less than 3 then the Tags & Metadata will not be displayed as a separate category and it will be combined and displayed under Tags title. If the returned result count is greater than or equal to 3, then the refinement panel will show separate category for Tags and Metadata. This property value is configurable and must be greater than or equal to 1. The other category like result type, size, author has a value 5, which means these categories will not be shown if the returned result count is less than 5.

b) Count display in the results
To show the number of results returned for that particular refiner, ShowCounts="Count" has to be added in the XML data.

c) Number of Filters to Display
This attribute controls the number of filters to be displayed in the particular category. The value here is 4, which means only 4 filters are displayed in the category and if more filters are available, "show more" text will be displayed.

Enable Managed Metadata Feature in SP 2010



Managed Metadata feature in SharePoint 2010 is a hidden feature. When creating a new field of type Managed Metadata, a property may show that the feature is not activated.

To enable the feature use the following powershell command.
Enable-SPFeature -id "73EF14B1-13A9-416B-A9B5-ECECA2B0604C" -url https://testsite