How to update criteria list for Advanced Search
I have added several custom fields to the help desk, but I am not able to search by them. I noticed that one of my fields (the only Lookup field) is available, but none of the scalar fields appear.
After looking at subWorkItemFind.ascx, I found that these are loaded into the AdvancedCriteriaDS dataset with the following code:
DataStore("AdvancedCriteriaDS") = New DataSet
DataStore("AdvancedCriteria") = New CriteriaTable("CriteriaFields.xml", False, True)
DataStore("AdvancedCriteriaDS").Tables.Add(DataStore("AdvancedCriteria"))
DataStore("AdvancedCriteria").Initialize()
On another site, I found someone mention that CriteriaFields.xml was part of the Altiris dll, and not configurable. Therefore, I would like to insert rows in the code above to add rows to the DataStore table directly. Does anyone know how to do this?