Skip to main content
Level 1
May 29, 2026

Conditional Exclusion of Fields from Document of Record (Code vs UI Checkbox) Does Not Work

  • May 29, 2026
  • 0 replies
  • 1 view

Hi all,

I need to conditionally exclude some fields from the auto-generated DOR through code. Nothing I’ve tried to program is working.

Please, how can I emulate in code what the “Exclude From Document Of Record” checkbox does? It works correctly when I use the UI checkbox, but if I try to do it via code in the Value Commit event, it doesn’t work. I’ve tried things like:

field.dorExclude = true; field.excludeFromDoR = true; field.dorExclude = true

…but none of it works.

 

Thanks in advance for your help!
Any guidance would be greatly appreciated.