locked
Pass data from MVC to Dynamic CRM page RRS feed

  • Question

  • We have developed MVC project to reduce user effort in dynamic crm and is not deployed in ISV folder. We are using postmessage(Html5) to send data from MVC to dynamic CRM.

    Postmessage is working fine in chrome not in IE11.

    MVC code:

                var passData = {

                'OrgName': ‘Test’};

              window.opener.postMessage(JSON.stringify(passData), '*');

    js file in dynamic crm :

    window.addEventListener('message', function (e) {

         alert('Parent got (from ' + e.origin + '): ' + e.data);

    },

    false);

    Also I found that postmessage is broken in IE11.

    http://stackoverflow.com/questions/21070553/postmessage-still-broken-on-ie11

    Any idea?

    Wednesday, November 26, 2014 11:26 AM