Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

how to filter listdata.svc with "Managed Metadata"-column-Type

$
0
0

Hi,

To count all the items from a list you can use this:
http://sharepoint2010/sites/subsite/_vti_bin/listdata.svc/myList/$count

In my list I have a column "Client" that is a managed metadata column.

How can I filter this count to have a filter like: give me all the items where client is microsoft.

For a single line text column, I can filter with: http://sharepoint2010/sites/subsite/_vti_bin/listdata.svc/myList/$count?$filter=(normalText eq 'test').

Do I need to use another parameter like these?

QueryString parameters for REST

  • $filter
  • $expand
  • $orderby
  • $skip
  • $top
  • $metadata (will bring back all the XML metadata about the object. Think of it like WSDL for your REST call)

What should be my url?
http://sharepoint2010/sites/subsite/_vti_bin/listdata.svc/myList/$count?$filter=(client eq 'microsoft') is not working...


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>