top of page

Managed Metadata Column '&' issue with OData Query (SPFX)

  • Writer: Jems Jose
    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


Contact Cloud Kick
  • Black Facebook Icon
  • Black Twitter Icon
  • Black YouTube Icon

Name *

Email *

Message

Thank you for Contacting us! We will get back to you shortly.

© 2017 Cloud Business Transformation Pty Ltd Australia

bottom of page