Opt out a constraint in all relevant viewmodel
(Replacing message template with parser tag)
m ((username removed) (log details removed))
(No difference)

Revision as of 05:46, 10 October 2024

If you need to opt out a constraint in every viewmodel that mentions this constraint, you can use this EAL code.

let constraint = Constraint.allInstances->select(c|c.Name = 'NameOfConstraint')->first in
(
  constraint.ConstrainedElement.Nesting.OwningSpan->forEach(span | span.OptOutConstraints.add(constraint))
)
This page was edited 56 days ago on 01/20/2025. What links here