CHANGE CONTROL LABEL DURING RUNTIME IN DYNAMICS 365 USING JAVASCRIPT
If you're working with Dynamics 365 and require changing control labels at runtime, worry not. This blog post presents a simple solution using JavaScript. By calling the function setLabel(), you can modify the label of a control at runtime with ease.
The post outlines several scenarios and the corresponding code snippets to achieve the desired results. For example, to alter a tab label, you can use the following piece of code:
var runtimeTabLabel = "Runtime Tab Label";formContext.ui.tabs.get("<tabName>").setLabel(runtimeTabLabel);
Similarly, the article explains how to change a subgrid label or a field label using the setLabel() function. If you wish to retrieve the label for a control, you can use getLabel().
The blog post is accompanied by relevant images and code snippets to facilitate easier understanding. If you're seeking a solution to alter Dynamics 365 control labels at runtime, this blog post is sure to be of immense help.
The post can be found here.
Published on:
Learn moreRelated posts
Long label name in MS Dynamics crm using webresources
If you're using MS Dynamics CRM and have run into the issue of long label names, this tutorial may provide a solution for you. Specifically, i...
Microsoft Purview compliance portal: Information Protection – Sensitivity label grouping modernization
Microsoft Purview Compliance Portal is introducing a modern approach to handling sensitivity labels and groupings, resulting in a simplified l...
Outlook: MIP Label Support for Events on iOS
Outlook for iOS now supports MIP sensitivity labels for events, allowing tenants to both read and write labels for their meetings with enforce...
Outlook: MIP Label Support for Events on Android
Outlook for Android will soon support MIP sensitivity labels for events. This means that tenants who have set up MIP sensitivity labels will b...
EXTRA space for the LABEL in Power BI #shorts #powerbi
In this #shorts video, you'll learn how to create extra space for the label in Power BI. While working with Power BI, you might encounter situ...
Outlook: Labeling email from attachments’ label
Outlook is introducing a new feature where the highest sensitivity label from attachments in an email will be automatically applied to the ema...
Microsoft Purview Information Protection: Configure sensitivity label inheritance from email attachments
A new update is coming to Microsoft Purview compliance portal in which admins can configure sensitivity label policies for email attachments. ...
Microsoft Outlook: Labeling email from attachments’ label
This article talks about a new feature in Microsoft Outlook that allows labeling emails based on the sensitivity label of the attachments incl...
Outlook: S/MIME sensitivity label support natively on Outlook for Windows
Outlook for Windows is set to roll out a new feature that will support S/MIME (Secure/Multipurpose Internet Mail Extensions) sign and encrypti...