Use the below syntax to lock or unlock the business process flow fields in a CRM record using javascript,
Lock:
Xrm.Page.getControl(“header_process_FieldSchemaName”).setDisabled(true);
Unlock:
Xrm.Page.getControl(“header_process_FieldSchemaName”).setDisabled(false);
Published by Srinath Pega
Microsoft Certified Trainer (MCT), Microsoft Business Applications | Microsoft Dynamics 365 & Microsoft Power Platform Solution Architect | Microsoft Business Applications Solution Advocate 🥑 | Author 📖 | CEO: Customer Experience Obsessor | The Dynamics 365 Guy 🏄 | Power Platform | Dataverse | Power Fx | Azure | Azure DevOps Addict 🚀 | Copilot Studio | Open AI | YouTuber | Blogger | Speaker | Travelle 🛫
View all posts by Srinath Pega