When executing a search template, 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 defined with a template, examine the XML content of the search template by using the IBM FileNet Enterprise Manager.
If you are not prompted and the XML opens in Notepad, use Save To File and open the .xml file in Internet Explorer. You should see an XML document describing the search template. Locate the <whereprop> tags within the <where> tag. You will then 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: