When I run your example "Criteria List Examples" AddToInstrumentList, everything works.
When I do run it from my project, I have this message "CriteriaList missing universe filters" (the filter is only on "Active Status").
In fact the class CriteriaListFilter does not have this information. The FilterInfo class does, but unfortunately the CriteriaListOperations.Create function needs a CriteriaListFilter list...
I just want to retrieve all the available instruments. How can I do it?
On DSS GUI, the Criteria Lists creation requires "Active Status" and "Basis Gap Adjusted" filters for Commodities, while it requires only "Active Status" filter for Loan. This means that your application needs to add the "Basis Gap Adjusted" filter in the filter lists as well. For more information about the "Basis Gap Adjusted", please see the "Creating Criteria Lists" section in the DSS User Guide document.