Dynamics CRM 2011 Save button on email form is disabled once 'Activity Status' field is added

In Dynamics CRM 2011, after adding 'Activity Status' field on the Email Activity form, any email record with StateCode = 1 has the save buttons disabled.

For example, email with status as 'Sent', 'Pending Send' and 'Received'.

If the email is in draft, the problem doesn't occur.

This is a known design issue in Dynamics CRM 2011.

Workaround:

Create a custom field and populate this with the item's statecode:-

function substitute()

{

var sCode = Xrm.Page.data.entity.attributes.get("statecode").getValue();

Xrm.Page.getAttribute("new_statefield").setValue(sCode);

}

Then remove the Activity Status field from Email form

Best Regards

Dynamics CRM Team