Announcements
No record found.
HI,
In customer service hub email form is read only and cant edit regarding field in dynamics 365 on premise version 9.0. Any suggestion on this issue.
Thanks
Hello,
pls refer this link
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/208188/crm2016-mail-from-is-readonly/545759
I hope it helps,Thanks.Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365
Hi Thomas,
If it is read-only after sending email and status is completed, you can use js code to unlock all controls.
function unlockEmail(executionContext) { const form = executionContext.getFormContext(); const headerControl = form.getControl('header_statecode'); var status = headerControl.getAttribute().getText(); if(status=="Completed") { Xrm.Page.data.entity.attributes.forEach(function (attribute, index) { var control = Xrm.Page.getControl(attribute.getName()); if (control) { control.setDisabled(false); } }); } }
2.Add js to web resource.
Go settings > Customization > Customize the system > web resource.
3.Add it to the email onLoad event.
Go settings > Customization > Customize the system > entities > email > form > main form.
4.Test.
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 48 Super User 2026 Season 2
Travis South 45
Ayesha Wajahat 18