Monday, September 29, 2014

How to Add Enterprise Keywords Column To SharePoint List or Library

Enterprise keywords column in SharePoint (or folksonomy) enables end users to add tags to documents and Items. Here is how to enable enterprise keywords column to SharePoint list and libraries.

How to add enterprise keywords column in SharePoint?
To enable enterprise keywords field in SharePoint, Go to: List/Library Settings >> Enterprise Metadata and Keywords Settings >> Enable Enterprise Keywords at "Add Enterprise Keywords" section by selecting "Add an Enterprise Keywords column to this list and enable Keyword synchronization"

Add Enterprise Keywords Column To SharePoint List or Library
This should bring new column "Enterprise Keywords "to your SharePoint list.
sharepoint 2013 enterprise keywords column
These column values are stored in MMS service application term store and can be refined later.

Enable enterprise keywords & Add enterprise keywords column programmatically using PowerShell:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Variables for Web URL and List Name
$WebURL ="https://intranet.crescent.com"
$ListName="Purchase Documents" 

#Get web and List objects
$Web = Get-SPWeb $WebURL
$list = $web.Lists.TryGetList($ListName);

if ($list -ne $null)
{  
  #Check if the list has enterprise column already
  if ($list.Fields.ContainsField("Enterprise Keywords") -eq $false)
  {
    #Add Enterprise keywords column to list
    $list.Fields.Add($list.ParentWeb.AvailableFields["Enterprise Keywords"])
    $list.Update()

    write-host "Enterprise Keywords column added successfully to the list!"
  }
} 
This enables enterprise column automatically and adds it to the list.

Rename-Remove enterprise keywords column:
As  with any other column, Enterprise keywords column also can be renamed or removed from list settings. Just pick the column from List settings "Columns"section and you'll get the options to rename enterprise keywords column in SharePoint.
sharepoint 2010 remove enterprise keywords column



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...