Hi,
I have added JavaScript files in Lead form and that working fine in Desktop but that creates error in mobile . i have tested by using "Dynamics 365 for Phones" app in Android 6.0.1 .It showing "There at least one error on the form " and "setVisible/getText of null(From my JavaScript)". I don't know how to debug this issue .
Regards,
Manikandan S.
*This post is locked for comments
Hi Syed,
Thanks for your reply. we can debug js from mobile by EmployeeOcta's answer.
regards,
Mani
Thank you EmployeeOcta and Guillaume Domont,
HTML WebResources are not shown in Mobile ,Is there any option to show HTML Webresources in Mobile?
Please try to use the below check in your js to run on the mobile client.
if (Xrm.Page.context.client.getClient() = "Mobile") { // Add code that should run in CRM for phones and tablets here }
Hope this helps.
Note: if am not wrong you can't debug the js in mobile app.
If the suggestion resolved your query .Pls mark it as answered/verified to close the thread.
Hi,
it seems that between your web and mobile form there are some differences. Fields/Sections/Tabs not on the form.
The mobile rendering is limited to 5 tabs, so if you have 6 tabs all the Jscript running on the 6th won't work. Thus maybe your error
Hello Manikandan S,
Have a look at below url , it may help.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156