Hi,
Can I configure SDL Publication Manager so that the values selected in the Conditions tab will result in content being excluded rather than included in the published content?
Thanks,
Ann
Hi,
Can I configure SDL Publication Manager so that the values selected in the Conditions tab will result in content being excluded rather than included in the published content?
Thanks,
Ann
Hi Ann,,
The "ConditionFilter" component will try all combinations of your Condition Context (so the entries in the Publication Manager > Conditions tab) to make the @ishcondition valid. If it cannot make it valid (so TRUE) then the xml scope of the @ishcondition element is conditionally filtered out. So implicitly there is only an include-action when the condition is valid, as mentioned in a similar question of yours we do not have flag-action or exclude-action as DITAVAL has. The product does however offer a way richer set of boolean logic, version-number handling with all kinds of compare operators up to an IN-clause.
The advice is to prefer the positive writing of conditions as the alternative has several downsides over time. Consider the following example
In this example I wrote not(...), you could also write condition name "notCOOLING" and think about scenarios
Hope this gets you going on a Friday :-)
-Dave