While script attempts to set boolean value to 0 (zero), the D365 legacy Xrm.Page field used to accept 0 for the false value. Does UCI require false instead of 0 (zero)?
Hi,
Not sure what the exact problem is with your code (would need more details), but here are a few pointers to transition to Unified Interface:
1/ Xrm.Page has been deprecated for a while now. There are also some replacement suggestions here: docs.microsoft.com/.../important-changes-coming
2/ Consider running the PowerApps Solution Checker against your solutions to check your customizations and custom code: docs.microsoft.com/.../use-powerapps-checker
Henry
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156