web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans