Answered by:
CRM 2013 - context.getEventArgs().preventDefault() is not working

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
All replies
-
-
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 -