Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Custom Tool validation error list- upgrading to D365 online

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Hello All,

I am running the Custom Code Validation Tool for Microsoft Dynamics CRM 2011 and getting the following being flagged up as potential issues.

  • The occurrence of :: was located 1 time(s) in this web resource.
  • The occurrence of .text was located 10 time(s) in this web resource.
  • The occurrence of ActiveXObject( was located 2 time(s) in this web resource.
  • The occurrence of .attachEvent( was located 4 time(s) in this web resource.
  • The occurrence of .childNodes.length was located 4 time(s) in this web resource.
  • The occurrence of .firstChild was located 29 time(s) in this web resource.
  • The occurrence of .lastChild was located 3 time(s) in this web resource.
  • The occurrence of .nextSibling was located 8 time(s) in this web resource.
  • The occurrence of .previousSibling was located 2 time(s) in this web resource.
  • The occurrence of .contains( was located 7 time(s) in this web resource.
  • The occurrence of dblclick was located 1 time(s) in this web resource.
  • The occurrence of .dir was located 6 time(s) in this web resource.
  • The occurrence of .innerText was located 1 time(s) in this web resource.
  • The occurrence of .outerHTML was located 2 time(s) in this web resource.
  • The occurrence of .currentStyle was located 9 time(s) in this web resource.
  • The occurrence of opacity= was located 3 time(s) in this web resource.
  • The occurrence of .srcElement was located 1 time(s) in this web resource.
  • The occurrence of .returnValue was located 2 time(s) in this web resource.
  • The occurrence of .add( was located 9 time(s) in this web resource.

these are all coming from the JavaScript files, Please tell me for D365 online which java script method can I replace with above existing one.

Regards,

Pauravi

  • Suggested answer
    RE: Custom Tool validation error list- upgrading to D365 online

    Hi Pauravi,

    Please check the documentations below:

    Some client APIs are deprecated
    https://docs.microsoft.com/en-us/power-platform/important-changes-coming#some-client-apis-are-deprecated

    Client API Reference for model-driven apps
    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference

    Here you may also find more documentation about previous versions:

    https://docs.microsoft.com/en-us/previous-versions/dynamics/

    Best regards,

    Flávia

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Tool validation error list- upgrading to D365 online

    Do you know any site? Where I will get current D365 supported features.. so I can replace it with updated

    I am upgrading form 2011 on-premise to online.

    Let me know

  • Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Custom Tool validation error list- upgrading to D365 online

    Hi,

    most of the method are not supported in D365 online. You will have to get the requirement and write javascript from scratch.

    Please mark my answer verified if I were helpful!

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…

Vahid Ghafarpour – Community Spotlight

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

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans