Skip to main content
Dynamics 365 general forum
Unanswered

Solution Checker not picking up xrm.page in trial?

editSubscribe (0) ShareShare
ReportReport
Posted on by 80

Hi there,

I am reviewing a clients legacy JS web resources (2015) and noticed running that after exporting them in a solution and running them in a V9 online trial instance, the xrm.page lines are not picked up by solution checker.

Is this normal behavior or is there something different in how solution checker runs in a trial.

Thanks!

  • Rebel Leader Profile Picture
    Rebel Leader 80 on at
    RE: Solution Checker not picking up xrm.page in trial?

    Hi Leah,

    Yes totally understand that.  My question is why will solution checker not pick up xrm.page lines in the body of a JS WR.

  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: Solution Checker not picking up xrm.page in trial?

    Hi Rebel,

    Xrm.Page

    ‘Xrm.Page’ references or accesses a deprecated API in the client context object model. Replace this call with the following client context API: ‘ExecutionContext.getFormContext’

    Xrm.Page is depreciated and will not work in October 2020 release, DO NOT WRITE THIS CODE, get into the habit now.  There is no excuse because it’s been well publicised and there are lots of examples of using the new syntax.

    maybe you can refer following link to know more about it:

    What the solution checker does and why you should use it – Hosk's Dynamic Blog (wordpress.com)

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans