Home

Apr 3, 2014

CRM 2013 Save Event Arguments

Using save event arguments, you can manipulate save event processing -

from Sdk -

In the save event you can use the execution context object getEventArgs method to retrieve an object that contains methods you can use to manage the save event.

Save Event Argument Methods

getSaveMode
Returns a value indicating how the save event was initiated by the user.
isDefaultPrevented
Returns a value indicating whether the save event has been canceled because the preventDefault method was used in this event hander or a previous event handler.
preventDefault
Cancels the save operation, but all remaining handlers for the event will still be executed.

Thanks,

Amol

No comments: