2

When updating an email field on a Lead within a CRM plugin, a SQL error is raised if the email field was already set as part of the Create event the plugin is participating in synchronously.

To replicate the issue, register this plugin on the Lead Create Post-event to run Synchronously.
It will take the object it is given, and attempt to update its emailaddress1 attribute.

If the emailaddress1 attribute was already populated (ie: via the lead create form), it will fail.

Our own testing indicates this will not fail asynchronously (presumably because it's now outside the transaction), and it will not fail if updating non-email fields.

I have attached a sample plugin to test with.

Category: General
STATUS DETAILS
Declined
Ideas Administrator

Thank you for submitting your idea to our ideas portal. We appreciate your contribution and the time you took to share it with us. We have shipped many enhancements since this idea was posted and it is likely that it has been resolved. If not, kindly reopen. Thank you again for your continued support.

Comments

G

Guy - If you haven't done so already please open a support case and request a hotfix for this issue. We need a support case in order to get priority to request a hotfix. This site is more for suggestions for future releases. Thanks Dynamics CRM Team

Category: General