Advertisements
Home > CRM 2013 > Loading dependent jscript libraries in ribbon button’s execution CRM 2013

Loading dependent jscript libraries in ribbon button’s execution CRM 2013

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.

Dependent JScripts Order

Dependent JScripts Order

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.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: