Announcements
No record found.
Hello,
I have two different JS files into different solutions. How can I pass a function that I have in one solution to the other solution? Thank you in advance!
*This post is locked for comments
Can you give us more information? I'm not sure to understand your post correctly.
HI ,
Please follow the below link which may help you .
social.microsoft.com/.../calling-a-js-function-from-one-webresource-to-another-webresourceboth-webresource-type-is-java
Thanks !
It really doesn't matter if they are in different solutions. You just need to make sure both JavaScript files are loaded on the form and you can call a function in another library.
The way JavaScript works is that all functions from all JavaScript files that are added to the page are loaded to the dom. At that point it doen't matter anymore where your function resides.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ScottDurow 2
GJones 1