Clicking the Create button does not create a messageĀ in EXM


Description

Clicking the Create button in the EXM message creation dialogue does not create the appropriate message. The dialogue just hangs:


This issue affects EXM 3.0.0-3.4.2 versions.

Solution

  1. In the /sitecore/shell/client/Applications/ECM/EmailCampaign.Client/Dialog/MessageCreationDialogBase.js file replace the following code:
    ...
    switch (createType) {
                case "ExistingTemplate":
                  this.createExistingTemplate(contextApp, eventInfo);
                  break;
                case "ExistingPage":
                  this.createExistingPage(contextApp, eventInfo);
                  break;
                case "ImportHtml":
                  this.createImportHtml(contextApp);
                  break;
                default:
    ...

    with this code:

    ...
    switch (createType.toLowerCase()) {
                case "existingtemplate":
                  this.createExistingTemplate(contextApp, eventInfo);
                  break;
                case "existingpage":
                  this.createExistingPage(contextApp, eventInfo);
                  break;
                case "importhtml":
                  this.createImportHtml(contextApp);
                  break;
                default:
    ...

  2. Save your changes and clear your browser cache.