Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Not all JavaScript Handlers were updated when importing an managed solution

(0) ShareShare
ReportReport
Posted on by

Hi All,

I'm running a 3 online environment setup, dev->test->prod. All are running the same version. With been working for some time now and made a deployment of a managed solution file to our test env and our prod env (same file). During import we override all local customization. Still we got a nasty problem. One of the JavaScript handlers on our quick create form for account was not replaced by the newer one in the solution file. Hence we got an error every time we opened the form. 

We did a bit of research and concluded the following.

* The customization.xml file contain the changes

* Other changes to the form as successfully imported

* The import was successfully and replicated without any other consequences

* In test everything works as planed but it was not exactly as Prod when we did the deployment as it gets increment deployments during the leap of the sprint.

As this was of business critical nature we made a small change directly in Prod and updating the incorrect handler to refer to correct webresource and function. My biggest concern are if we can trust that the different system acts the same except for this minor deviation or if there may be other cases where it also have happen. 

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Not all JavaScript Handlers were updated when importing an managed solution

    Hi,

    As long as you the solution you will be importing in prod have the same event handler for the form then it should be fine. if you import a solution with the same form but without the event handler then it will overwrite the customization again.

    And I think this is what must have had happened before as well i.e. the solution you imported either doesn't contain the form with that event or teh form was there but the even was  ot there.

    Hope this helps.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans