Managed Metadata Column '&' issue with OData Query (SPFX)
- Jems Jose
- Oct 1, 2018
- 1 min read
After bit of research it is quite straight forward to do a OData Query such as below to use Taxonomy columns in the query:
&$filter=((TaxCatchAll/Term eq 'term label text'
A not so documented/blogged issue is the fact that Term Store does not use Ampersand(&) with the URL encoded value of "%27" in data labels. Instead it uses & with an encoded value of "%EF%BC%86%".
So a simple replace such as below should get you the results you expect:
replace(/&/g, "&")
Comments