Refine search results by Managed Metadata - Part 3 (Code)
Part 3 of the blog series explains the code. My explanations are limited to the major changes compared to Elio Struyf's blog article (see URL's in Part 1).
Part 3 of the blog series explains the code. My explanations are limited to the major changes compared to Elio Struyf's blog article (see URL's in Part 1).
Although this is a standard procedure, I would like to briefly describe the steps in SharePoint Online to create the search page. As an example I use tagged documents. Please see Elio Struyff's blog posts for more in-depth information (see URL's in Part 1).
Muawiyah Shannak launched excellent JSLink code samples. One example covers FAQs displayed in an accordion like structure. The example works perfect with "single line of text" columns. The accordion fails using "multiple line of text - Enhanced rich text".
For a SharePoint Hosted App I needed a simple & user friendly Angular & Bootstrap based color selector directive. This blog post describes the final solution and shows how easy it is to move JavaScript based features to an Angular directive. Additionally there is a link to a plunkr so you can check the code online.
You can evaluate a Managed Metadata term value with the following actions:
Let's compare the approaches.