Map Lead Image (picture) to Account post Lead Qualification (CRM 2013) RRS feed

  • Question

  • How can I map the Lead's image (picture) to account during lead qualification? It appears that I can't do it through 1:N relationship mapping. Perhaps need to use C# code. Any suggestions?
    • Edited by Anna' Thursday, October 30, 2014 8:15 PM
    Thursday, October 30, 2014 6:30 PM


  • If you can't use mappings, it should be possible to do this with a plugin on the Create message of the Account entity, pre-operation stage. The plugin should:

    • Read the originatingleadid attribute of the Target InputParameter. This is an EntityReference to the lead
    • If the originatingleadid attribute contains data, retrieve the entityimage attribute of the lead, and copy it's value into the entityimage attribute of the Target InputParameter

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

    • Marked as answer by Anna' Monday, November 3, 2014 5:07 PM
    Friday, October 31, 2014 2:55 PM