Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

GetSaveMode

$
0
0

Good morning everyone,

I need to pick up the Mark As Complete From Commitment button event and I'm using the code below:

Function preventAutoSave (econtext)
{
     Var eventArgs = ExecutionContextObj.getEventArgs ();
Alert (eventArgs);

     If (eventArgs.getSaveMode () == 58)
{
Alert(teste);
     }
}

But it is giving right error and is not displaying the alert with the event number.

I'm using CRM OnLine I do not know if this code was made for ONLINE


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>