locked
CRM 2013 - context.getEventArgs().preventDefault() is not working RRS feed

  • Question

  • Hi All,

    I am using CRM 2013 on premise version. I have UR 3 installed on my CRM server. And I have disabled Auto Save functionality for all entities. Now I have a requirement to prevent "Save and Close" method in one of my entity. I have used context.getEventArgs().preventDefault() method. But it's not working. Is Microsoft planning to fix this in next rollup?

    Thanks in Advance.

    Monday, October 20, 2014 9:44 AM

Answers

  • it's a bug. Please refer this.


    Regards, Saad

    • Marked as answer by Ravi MRC Saturday, November 15, 2014 5:21 AM
    Monday, October 20, 2014 9:54 AM
  • HI Ravi,

    It's a bug. I also don't have anything official from Microsoft. Please refer this aslo. it shows that a moderator has posted it as a bug.


    Regards, Saad

    • Marked as answer by Ravi MRC Saturday, November 15, 2014 5:21 AM
    Monday, October 20, 2014 11:00 AM

All replies

  • it's a bug. Please refer this.


    Regards, Saad

    • Marked as answer by Ravi MRC Saturday, November 15, 2014 5:21 AM
    Monday, October 20, 2014 9:54 AM
  • did you check the checkbox "pass context as first parameter" when you added the method?

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Monday, October 20, 2014 10:05 AM
  • Guido Preite - Yes I have checked "pass context as first parameter" checkbox.

    Mohd Saad - Yes I foung Ashwin's blog but I don't find any official Microsoft blog where its mentioned. If you have anything official then can you please let me know?

    Monday, October 20, 2014 10:17 AM
  • HI Ravi,

    It's a bug. I also don't have anything official from Microsoft. Please refer this aslo. it shows that a moderator has posted it as a bug.


    Regards, Saad

    • Marked as answer by Ravi MRC Saturday, November 15, 2014 5:21 AM
    Monday, October 20, 2014 11:00 AM