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
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
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.
Hello,
pls refer this link
I hope it helps,
Thanks.
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156