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);
Related
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