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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

JS not working on CRM Mobile apps

(0) ShareShare
ReportReport
Posted on by

Gents,

The JS is not loading or working on the CRM Mobile Apps.

Is there any way to debug or an option to enable to make it work.

*This post is locked for comments

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

    hi ,

    Did you use

    if (Xrm.Page.context.client.getClient() == "Mobile")

    {

    your code

    }

    in you js code

    Regards,

    Nithin

  • Community Member Profile Picture
    on at

    Yes I did, I have put some alerts using the alertDialog function and it is not firing.

  • Community Member Profile Picture
    on at

    Hi joe,

    Their are some javascript  which are not supported when loaded in CRM Mobile Apps, due to that reason its not loaded on CRM Apps.

    So you need to figure out those code and use it with the condition using

    Xrm.Page.context.client.getClient() == "Mobile".

    Follow this link it may be useful to you...

    technet.microsoft.com/.../dn531159.aspx

  • Community Member Profile Picture
    on at

    Hi Kumar,

    Thank you for the response, I went into this article and this is why I am using the AlertDialog to debug instead of window.alert.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans