Monday, 27 February 2017

How to debug scripts in Dynamics 365 Mobile/Tablet client

(T) Debug Account onLoad script for tablet/Mobile.

Note:

Create script file from web resource
============ new_account.js ================= 
       
   function OnLoadOfAccount() {
            debugger;
            alert("OnLoad called");
        }

=====Add function(OnLoadOfAccount) on Form load of Account entity ============





Step 1) Generate URL  


Ex.  

Note:
To get the OrgName, go to CRM > Settings > Customization > Click on “Developer Resources ”option and find the Unique Name




Step 2) Hit the generated URL on browser and download the XML






 Step 3) Go to Account, Open or create any record and check the debugger point



Comment if you require more info.......

2 comments:

  1. Nice finding Jatin.. thanks for sharing.

    ReplyDelete
  2. Really good info, not available anywhere. Thank you. Was very helpful.

    ReplyDelete

How to Install/provision Dynamics Portal (SaaS) using Admin Center

Go to Office 365 Admin Center Go to https://portal.office.com/ Click on Admin Install Dynamics Portal for your CRM instance Clic...