web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Javascript between Two Solutions

(0) ShareShare
ReportReport
Posted on by 274

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

I have the same question (0)
  • Karsten Wirl Profile Picture
    4,477 on at

    Can you give us more information? I'm not sure to understand your post correctly.

  • Suggested answer
    Tushar2016CRM Profile Picture
    1,130 on at

    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 !

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans