Wednesday, October 20, 2010

MS CRM 2011 Beta - CallerOrigin in Plugins is no more !!!

CallerOrigin has been removed in CRM 2011 Beta.

According to Experts, since the CRM 4 implementation was neither extensible nor reliable\secure. The recommendation is to not rely on caller origin when you extend business logic in the server (since it is easy for a client to spoof this data)

If you absolutely need it and can guarantee \ do not care about spoofing, create a custom field and pass additional origin info from the client.

Please note that we have a new property isOfflinePlayback in PluginContext to identify if a plugin was triggered as part of the Offline Playback.

Please have a look at the IExecutionContext. It has below properties:1. IsExecutingOffline
2. IsOfflinePlayback

For more information you can see in the CRM 2011 Beta Sdk. Topic = "IExecutionContext Members "


Hope it helps.

No comments: