Mariya
Mariya

Reputation: 413

How can enable the filter on managed metadata fields on REST API direct?

How can enable the filter on managed metadata fields label on REST API direct and fetch all the fields using the filtering of the MMS field using direct REST API?

Upvotes: 3

Views: 2273

Answers (2)

tilja v
tilja v

Reputation: 46

I got the same situation on this i have enable the filtering using the Managed Metadata fields on a list using the below API:

_api/Web/Lists/GetByTitle('List-name')/Items/?$select=*,TaxCatchAll/Term&$filter=TaxCatchAll/Term eq '${Managed-Metadata-field-value}'&$expand=TaxCatchAll

'Managed-Metadata-field-value' means: Country is the MMS field and US is the value put US on here

But the API have limitation i think this filter enable only on a single MMS field.

Refer:workaround-to-filter-on-taxonomy

Upvotes: 3

Farhan
Farhan

Reputation: 887

its not possible out of the box, but there are some workarounds for this.

See: http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/

Upvotes: 0

Related Questions