Equivalent to context.callerorigin in ms crm 2011 RRS feed

  • Question

  • Hi All
    We have the requirement to do the bulk update for this we are exporting, updating the records and importing .xml back to the crm. while doing import we are calling plug-in post call and there checking the condition context.CallerOrigin.ToString=="Microsoft.crm.sdk.AsyncServiceOrigin"
    It would be great if you provide the solutions for this issue..
    Srikanth Reddy

    Tuesday, June 10, 2014 10:07 AM

All replies

  • There is no supported way to get the CallerOrigin in Crm 2011.

    One workaround would be to create a dummy field, and include that in the export, but nowhere else. Then, in the plugin, test if the dummy field is in the attributes of the Target InputParameter

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, June 10, 2014 3:30 PM