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)

Closing opportunities is not working anymore after deploying customizations

(0) ShareShare
ReportReport
Posted on by 2,541

Hello Everyone,

I recently get my access to an online environment for the CRM, previously working on the OnPremise 2015 version.

I was really excited to test my solutions on the Online version so i simply exported my solutions from the OnPremise 2015 version and imported it (in the correct order) on my Online organization.

So far no problem, until i tried to do the complete process with the opportunities. (Just to precise, everything is working perfectly fine on my OnPremise organization of course ...)

The buttons "Close as won" and "Close as Lost" are not "responding". When clicking on it, nothing happen at all. 

Of course I've check with some developer tools, and nothing happen in the Network requests, no error messages in the Console. I've double checked the Ribbon data with the RibbonWorkbench and everything is set by default for these 2 buttons as it's a standard functionality. The default JS files are fine, the aspx page which is the Dialog box to close the opportunity is existing, in the source code i correctly have the buttons mapped with their command like :

<span tabindex="-1" class="ms-crm-CommandBar-Menu" style='max-width:150px' command='opportunity|NoRelationship|Form|Mscrm.Form.opportunity.MarkAsLost'> Close as Lost </span>


 for example and all others buttons are working fine. 

The only point i was able to spot is that it's occurring as soon as I import my Entities solution but i have no idea for now how to spot the blocking component or thing ...

Does anyone have an ideas here ?

Thanks a lot,

Clément

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Have you pressed F12 and looked at the console for any Javascript error messages?

    Are there any OnSave Javascript events registered on the opportunity since this could interfere with the close process.

    Hope this helps

  • Suggested answer
    MilindP Profile Picture
    1,019 on at

    First of all make sure the popup blocker is disabled for the site.

    Watch the web traffic through Fiddler when you click on these button and see anything is happening behind the screen or there any blockage to the traffic.

  • Clem Profile Picture
    2,541 on at

    Hi,

    Yes F12 doesnt help, i've check the Console tab, the Network one, nothing appear when i click on the buttons.

    I tried to remove all custom javascripts from my form so it's not the OnSave event either.

    Fiddler gives nothing at all as well, like the F12... :( And i have no ads blocker, i tried the buttons with Firefox, IE, Chrome and get the same result, and all other pop-ups are working well.

    I'm struggling with this since several days, i dont know what to look to move on.

    Clément

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Could you try importing you customisations one by one and see which one is causing the issue?

    I can't think of anything that wouldn't show in F12 - perhaps you need to raise a support ticket with Microsoft. The good thing about CRM online is you get support via the O365 portal.

    Hope this helps

  • Clem Profile Picture
    2,541 on at

    Yes the fact that the F12 doesnt show anything is quite surprising, i agree...

    Regarding importing one by one the customizations, i don't really know how to handle it because almost everything is linked. As example, if i create an empty Solution and i just want to push the Opportunity entity in it, i have 30 required components to push with it to be able to import the solution in my new organization.

    I dont really know how i can deal with these dependencies to really split everything.

    Clément

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    I suggest grouping the customisations together - so start by removing all workflows/javascripts etc - and leaving just the entities.

    You'll need to create a throw away environment where you can make these changes and not affect anything - then export the solution from there into the test environment.

  • Clem Profile Picture
    2,541 on at

    Well it turned out that the root cause was the new Template system.

    If i use the Legacy one, it's working perfectly. But i have still no idea what is causing the issue on the new template system.

    So topic half resolved :).

    Thanks Scott and Milind for your help.

  • ScottDurow Profile Picture
    21 on at

    Which template system do you mean?

  • Clem Profile Picture
    2,541 on at

    I mean this option in the system settings : 

    2015_2D00_10_2D00_30_5F00_16_2D00_54_2D00_36.png

    Clément

  • ScottDurow Profile Picture
    21 on at

    Oh right - that's called 'turbo forms'

    If that's causing your system to break it must mean that there are some custom javascripts or webresources that are using some DOM/window functions that are not in the SDK.

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