如何在 REST API 上直接启用对托管元数据字段标签的过滤器,并使用直接 REST API 过滤 MMS 字段来获取所有字段?
最佳答案
我遇到了同样的情况,我使用以下 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
但 API 有限制,我认为此过滤器仅在单个 MMS 字段上启用。
关于rest - 如何直接在 REST API 上启用对托管元数据字段的过滤器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57973575/