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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 60 Super User 2025 Season 2
Siv Sagar 52 Super User 2025 Season 2
Daniyal Khaleel 36 Most Valuable Professional