Changes

QUERYSCOPE

774 bytes added, 11 September
/* Configuration */
* evaluates the query using an equal (=) operator if no query item exist
=== PropertyValues for the QueryInstance ===As described above, every [[MetaProperty|MetaProperties]] defined in the [[ACM]] will serve as filter criteria on the client. In some cases it might be necessary that you need to send data for the Query itself (e.g. an Icon, Statuscosor or MANUAL_EVALUATION_ONLY). As these properties should not be interpreted as filtercriteria you need to tell the QueryScope to use them like normal properties. For this you have to override the TakePropertyValueFromQueryInstance method on the Query Scope. Example: protected override bool TakePropertyValueFromQueryInstance(MetaProperty mp){ if (mp.Name == "MANUAL_EVALUATION_ONLY") { return true; } return base.TakePropertyValueFromQueryInstance(mp);} [[Category:Context scope|QUERYSCOPE]][[Category:Metaclasses|QUERYSCOPE]]
1,658
edits