Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM 2011 Origin of Create event

$
0
0
Hello

In my plugin, i have a "Create" event, linked to an entity. This event is fired by :

- the entity's associated form, when the user click on the "Save" button

- after the calling of the "localContext.OrganizationService.Create(my entity)" method

I would know which element has fired this "Create" event. From the form, or from the Create method ?

Except creating a flag in the entity, which will be initialized according the calling context, is there a more elegant method ?

Thanks !

Viewing all articles
Browse latest Browse all 8223

Trending Articles



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