web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Solution Checker not picking up xrm.page in trial?

(0) ShareShare
ReportReport
Posted on by

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!

I have the same question (0)
  • Community Member Profile Picture
    on at

    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.

  • Rebel Leader Profile Picture
    on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
BillurSamdancioglu Profile Picture

BillurSamdancioglu 95 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 87 Super User 2025 Season 2

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans