Trigger Plugin on Mailmerge RRS feed

  • Question

  • Hi Experts,

     I've a requirement to update a date field on lead form when the mail merge of label is done. Does it possible to trigger a workflow or plugin on mailmerge of labels. 




    Regards, Syai, Osmosys

    Monday, August 5, 2013 6:17 AM

All replies

  • I don't think there is a specific message associated with a mail merge - I expect it uses a RetrieveMultiple to read the CRM data, or it may use a direct SQL query which would bypass plugins.

    If a RetrieveMultiple is used, then you could try adding a dummy field on your entity, and only use that in the mail merge. You could then try a plugin on RetrieveMultiple that checks for the presence of this field in the COlumnSet property of the Query

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

    Monday, August 5, 2013 3:20 PM
  • You might have to attach event with the button which you are clicking for mail merge.

    Regards Faisal

    Monday, August 5, 2013 3:38 PM