I'm trying to access the metadata Tags of a SharePoint page within the search result of that page using a Display Template. In the Managed Properties for my search service, the Tags property is available, searchable, queryable, etc. and I've done a full crawl to ensure this property is pulled into the index.
Within the Item_CommonItem_Body.html Display Template, I have 'Tags' property listing within the ManagedPropertyMapping as shown below:
<mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Tags':'Tags',...
Lastly, I'm attempting to display the Tags within the body of the display template using the following:
_#= $htmlEncode(ctx.CurrentItem.Tags) =#_
Using the code htmlEncode code snip above, I'm able to display other aspects of the page such as the Author but I can't seem to get the Tags to display. I've also broke down the ctx.CurrentItem using the IE JavaScript debugger and couldn't find the Tags within the object anywhere. If someone has experienced this before, any help would be much appreciated. Thanks!