In CRM 2011, To load the dependent Jscripts on execution of ribbon button command actions
- We can add the dependent script as a Library in the “Javascript Command” and pass “isNaN” as Function Name (Refer my existing article)
In CRM 2013, I observed a slight change in the execution w.r.t the order.
The dependent script files has to be ordered before the actual script file.
Dependent script file is not loading if the order of the file next to the actual script file.

In the above scenario there are 2 “Javascript Command” pointing to different web resources.
The “Javascript Command:isNaN” is my dependent script file hence I put that as 1st command.


![[Step by Step] Configure and consume 'Environment Variables' of type 'Secret' using 'Azure Key vault'](https://rajeevpentyala.com/wp-content/uploads/2023/05/image.png)
Leave a comment