In Dynamics 365, you can dynamically change the labels of option set fields based on specific conditions. For example, you can update the label of the "Priority" field option from "High" to "Critical" when a case is marked as escalated. The provided code can be used to achieve this functionality. It registers the code on the OnLoad for Form and OnChange of the Is Escalated field. When the form is opened, the Priority's value will change to Critical if Is Escalated is set to Yes. However, note that the header still shows the old value, and there is no supported way to change the label in the header.
Login now to access my digest by 365.Training