Hi,
I've been trying to use the REST service to get a filtered list of documents. The documents are a custom document type which inherits from CMS.Article. I have a field called ArticleCategory in my new document type (it is a drop down field, filled with values from a SQL Query).
I have followed the instructions to configure the REST service found here:
http://devnet.kentico.com/docs/devguide/index.html?rest_settings.htmand I can run basic requests such as:
http://localhost/KenticoCMS/rest/content/site/<sitename>/en-us/document/childrenof/GES-Articles/
and
http://localhost/KenticoCMS/rest/content/site/<sitename>/en-us/all/GES-Articles?where=DocumentID=7
but it returns an error when I try to change the where clause to use Article specific fields such as: where=ArticleName='Test Article'
or my to filter by my custom field:
where=ArticleCategory=3
Here is the error message:
Request Error: The server encountered an error processing the request. See server logs for more details.
I'm not sure what server logs I'm supposed to look in.
Does Kentico REST service support filtering by such custom fields? If so, how can I get it to work?
Thanks for you help,
Diana