I'm developing UIX search panel, it doesnt work to search mutiple value in a value list, the script below for your advice, thanks
Here is the Conditions shown after created the search
var scKeyword = new MFiles.SearchCondition(); var oSc = new MFiles.SearchCriteria(); var ids = [1,3]; scKeyword.ConditionType = MFConditionType.MFConditionTypeEqual; scKeyword.TypedValue.SetValue(MFDataType.MFDatatypeMultiSelectLookup, ids); scKeyword.Expression.SetPropertyValueExpression( KeywordPropertyDefId, MFParentChildBehavior.MFParentChildBehaviorNone, new MFiles.DataFunctionCall() ); var scexKeyword = new MFiles.SearchConditionEx(); scexKeyword.Set(scKeyword, true, false, false); oSc.AdditionalConditions.Add(-1, scexKeyword);