Daxif
Daxif copied to clipboard
Automatically add javascript to form
I do not have a solution to this problem, but it would be nice to have it. The first time we add a new javascript file to a solution we also have to add it to the forms it's used on. It would be nice if it was automatically added.
It would also be nice if the method for registering code to a form was done in a strongly typed way.
Also mentioned here https://github.com/delegateas/XrmDefinitelyTyped/issues/27
An interesting idea is mentioned here: https://xrmtricks.com/2021/04/23/how-to-execute-a-javascript-function-on-all-forms-without-registering-it-manually/