Change existing "Filter.Rules" of an "ParameterFilterElement"

Via the API - you have to first use the Create() method to create the ParameterFilterElement. This is the same as going through the UI and going to filters and creating a new filter and giving it a name. No rules are set yet - it’s just an empty ParameterFilterElement at that point. So in the API - if you use ClearRules() then you have just emptied the rules out of the ParameterFilterElement. You then set the new set of rules the same as when you first created the ParameterFilterElement (see post below)

1 Like