title: How to select library items that belong to a taxonomy in Ektron
body: <p>I'm using Ektron CMS version 8.5 SP2.</p>
  
  <p>I have some items in a taxonomy. Some are actual pages, some are library items (documents like Word files and PDFs).</p>
  
  <p>Let's say there are 3 pages and 2 library items for a total of 5 items in my taxonomy.</p>
  
  <p>I use the following code...</p>
  
  <pre><code>ContentManager cManager = new Ektron.Cms.Framework.Content.ContentManager();
  Ektron.Cms.Content.ContentTaxonomyCriteria ctCriteria = new    Ektron.Cms.Content.ContentTaxonomyCriteria();
  ctCriteria.AddFilter(1707, true); // hard coded taxonomy ID
  List&lt;ContentData&gt; list = cManager.GetList(ctCriteria);
  Label1.Text = list.Count.ToString();
  </code></pre>
  
  <p>When this code runs, the count of items in the list is 3. If I output the actual list, I can see it's only the pages in the taxonomy, not the 2 library items.</p>
  
  <p>It seems that the ContentManager.getList() function does not get library items, even when those items have been added to the taxonomy. I can confirm that in the admin workarea, the library items are visible in the taxonomy.</p>
  
  <p>For clarification, this is a problem with <em>retrieving</em> items that have already been added to the taxonomy.</p>
  
  <p>Does anyone know how I can retirieve a list of <em>all</em> items in a taxonomy, including any library items in there.</p>
  
  <p>Note: If I add the files to the Document Managment System instead of the library, it works perfectly. But in the live system, I have hundreds of items in the library and I'm hoping theres' a way to view them via a taxonomy without having to move them all into the DMS.</p>
  
  <p>I have posted this question on the Ektron developers forum as well, but I've had no reply. I'm hoping somebody here can help.</p>
  
  <p>Cheers.</p>