Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically add javascript to form #28

Open
magesoe opened this issue Aug 1, 2018 · 2 comments
Open

Automatically add javascript to form #28

magesoe opened this issue Aug 1, 2018 · 2 comments

Comments

@magesoe
Copy link
Collaborator

magesoe commented Aug 1, 2018

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.

@magesoe
Copy link
Collaborator Author

magesoe commented Aug 1, 2018

Also mentioned here delegateas/XrmDefinitelyTyped#27

@RemyDuijkeren
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants