Our client asked us to change list view filtering to not show all terms from taxonomy in managed metadata, but only those from documents in library.
Currently we have two columns:
We have a managed metadata column populated by term taxonomy. When using a filter on the column all values from the taxonomy are visible.
We also have a custom field definition column which inherits from TaxonomyField which in filter view shows only values from documents existing in a library.
I’ve tried to find the way to provide this filtering. After searching it looks like there is no simple way to do this for managed metadata column. Looking at net also didn’t give any conclusive answers. I’ve found only one place where someone asked the same question, but the answers are not satisfactory for my case.