Loading...

CHANGE CONTROL LABEL DURING RUNTIME IN DYNAMICS 365 USING JAVASCRIPT

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 more
Dynamics 365 Education and Knowledge
Dynamics 365 Education and Knowledge

Share post:

Related 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...

8 years ago

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...

9 months ago

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...

1 year ago

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...

1 year ago

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...

1 year ago

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...

1 year ago

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. ...

1 year ago

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...

2 years ago

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...

2 years ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy