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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

JS not working on mobile app but working on dev env.

(0) ShareShare
ReportReport
Posted on by 70

Hi,

My JS is not working on mobile app but working in  dev environment. Please suggest how it will work.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    1.What is the CRM version?

    2.would you mind sharing the script - there can be some functions which are using has been deprecated.?

    3. Did you use

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

    {

    your code

    }

  • priyanka_24 Profile Picture
    70 on at

    1.I am using MS Dynamics CRM 365 online vs 8.2.

    2. My JS is a simple script to show/hide fields based on some other field change.

    3. It should work both on CRM online and mobile app.

    4. For mobile app it is not working.

  • Preeti Sharma Profile Picture
    2,678 on at

    Hi Priyanka,

    Are you getting any error on mobile related to javascript?

    Thanks

  • priyanka_24 Profile Picture
    70 on at

    No, not getting any error but changes are not getting reflected.

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hi Priyanka,

    1.make sure you are calling the function and script is added to the mobile form.

    2. try to debug it : community.dynamics.com/.../debug-script-on-tablet-mobile-application

    3. would you mind putting a simple alert for a check?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans