Getting JS error while sending email in MS CRM 2015 Online RRS feed

  • Question

  • Hi,

    In MS CRM 2015 Online when I click on Send button in Email Activity form getting following JS error.

       <Message>Invalid operand to 'in': Object expected</Message>

     <FunctionRaw>function(dirtyVisiblePropertyData) {
            var $v_0 = dirtyVisiblePropertyData.getKeys();
            for (var $v_1 = 0; $v_1 < $v_0.length; $v_1++) {
                var $v_2 = $v_0[$v_1];
                if (IsNull(this.get_viewMap().get_item($v_2))) {

     Anybody faced this kind of issue and any idea what is the solution for this issue.



    Thursday, September 10, 2015 1:53 PM

All replies

  • Hi,

    Any body knows this issue?


    Monday, September 14, 2015 2:15 PM
  • Do you have any custom code on the email activity entity?  If so, try disabling the jscript and see if the issue persists.

    Jason Peterson

    Monday, September 14, 2015 9:28 PM
  • Hi Jason,

    If I disable JS code its working without any issue. But my concern is when I click on Send button OnLoad code is not triggering and there is no code on email Send button functionality, it giving the above error message in system file.

    Let me know is there any way to investigate this issue.


    Wednesday, September 16, 2015 6:37 AM
  • When you click on send, you'd expect to trigger 'OnSave' and not 'OnLoad', is that right?


    Monday, October 12, 2015 5:10 AM