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...