IBM FileNet P8, Version 5.2.1            

Determining search template item IDs

When you execute a search template that was created by Search Designer, your search values, such as the document title or author, must correlate to the appropriate item IDs within the search template itself.

The first search property within the search template often has an item ID of 1, the second property has an item ID of 2, and so on. However, this is not always true, especially when with search templates that have had many changes.

To determine the item IDs for the search properties that are defined in a search template, examine the XML content of the search template.

  1. Use the administration console to download a local copy of the search template.
  2. Open the downloaded XML file in a browser. Locate the <whereprop> tags within the <where> tag. You will see the itemid attributes within the <whereprop> tags. These are the item IDs you will use with the operation. Do not confuse these with the item IDs within the <selectprops> tags. For example:

    An example of <whereprop> tags as displayed by an XML viewer

  3. Correlate these item IDs with the values in your searchForMany or searchForOne call.


Last updated: March 2016
bpfwd026.htm

© Copyright IBM Corporation 2016.