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

两盒软妹~` 提交于 2019-12-08 03:49:38

问题


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.


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/19207725/how-to-load-one-javascript-file-on-all-forms-without-adding-it-manually-in-crm-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!