4

I have written code to retrieve the keywords in a category. In one version I am calling GetListXml with a KeywordsFilterData and in another version I use OrganizationalItemItemsFilterData. The output from the two appears identical, which seems reasonable, but it's odd that there should be two ways of expressing this. Is there a difference?

5

OrganizationalItemItemsFilterData can filter on any of the items in an Organizational Item, more of a generic type of filter, where KeywordsFilterData is specifically only for Keywords.

Technically a Category can contain child Categories (not possible in the UI, but it is possible in the API). So with a OrganizationalItemItemsFilterData you could get the child Categories and the Keywords in your GetListXml call.

2
  • Thanks Bart. So in my use-case of just wanting a list of keywords, KeywordsFilterData is more correct... just in case there were child categories.
    – Dominic Cronin
    Jun 3 '13 at 17:54
  • I'd say so indeed Jun 4 '13 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.