replace method in AttributeDefinition "ScriptedAttribute" getValues()
ndk at signet.id
Mon Jan 25 22:22:11 UTC 2021
Is there a reason you wouldn't just use a Mapped AttributeDefinition with regular expressions?
Anyway, I'm not aware of a way to change or remove attribute values in the ScriptedAttribute definition. I don't see a way in the quick read of the code.
If you need a ScriptedAttribute for a specific reason, you could easily remove values in the attribute filter by a value match, or just use a new name for the attribute that you're adding the corrected value to, which will start as a null set.
Hope this is right,
More information about the users