Ahmed Magdy
Ahmed Magdy

Reputation: 6030

How to load one javascript file on all forms without adding it manually in crm 2011

How can I load javascript file on each page instead of adding it manually each item in Form Library. For example I want to always load jquery and a helper js file on any form.

Upvotes: 1

Views: 945

Answers (2)

Ben Williams
Ben Williams

Reputation: 1203

Supported

The best you can do is have a button configured to show on the application ribbon or for all entities that includes the library as an action.

That way it will probably be loaded whenever you need it. It is only really of any use if you have a button you can attach it to though.

Unsupported

Inject the JS library into your pages using IIS

Upvotes: 4

Bokkie
Bokkie

Reputation: 59

Maybey you can update edit.aspx once and include your script there.

Upvotes: -2

Related Questions