Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Script error in Xrm.Page - UciError: Value should be of type: Boolean: Parameter Name: undefined (works in D365 CE)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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)?

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: Script error in Xrm.Page - UciError: Value should be of type: Boolean: Parameter Name: undefined (works in D365 CE)

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans