Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : S2es4FONKnRU3tIlbrKFqP
Finance | Project Operations, Human Resources, ...
Suggested answer

How to show the full label for a field on the form

Like (0) ShareShare
ReportReport
Posted on 30 Jun 2023 06:52:05 by 64
Hi All,
My requirement is to show the full label for a field. let say, I have a string fields & its label is some 100 characters long. So by default its showing only starting characters & hiding rest of it. so, to view full label we need to expand that field on grid.
I don't want to set it manually by dragging it & then saving it instead I want to show label fully when form will open & fields width will resize itself as per label length.
I am using current version of D365 finance & operations.
 
Thanks,
Rahul
  • André Arnaud de Calavon Profile Picture
    292,865 Super User 2025 Season 1 on 02 Jul 2023 at 16:40:48
    How to show the full label for a field on the form
    Hi Rahul,
     
    Can you tell the purpose of the long label? Can't you talk with the customer about having a short, catchy label for their custom field? If a user will resize the column himself and save it as saved view, it is also not fitting anymore.
  • GirishS Profile Picture
    27,823 Moderator on 30 Jun 2023 at 09:47:57
    How to show the full label for a field on the form
    You have tried all the work around. Setting the width property will work but I am not sure why its not working.
    Only option will be expanding the column manually from the UI. Other then this ther is no other options.
     
    Thanks,
    Girish S.
  • Rahul Dahiya Profile Picture
    64 on 30 Jun 2023 at 09:38:12
    How to show the full label for a field on the form
    Hi Kevin,
    Thanks for the reply.
    I have check that reference but it's all about to resize the textbox of form control using display length or width property.
    but here I wan to resize the label. Also, my field string length is just 30 but label is some 100 char long. so, how label will adjust based on strlength.
     
    Thanks,
    Rahul
  • Rahul Dahiya Profile Picture
    64 on 30 Jun 2023 at 09:33:33
    How to show the full label for a field on the form
    Hi Girish,
    I have tried this labelwidth property as well but the result still the same, its showing only some char in label & hiding others.
     
    Thanks,
    Rahul
  • GirishS Profile Picture
    27,823 Moderator on 30 Jun 2023 at 08:37:23
    How to show the full label for a field on the form
    Do one more thing. Set the control Auto declaration property to Yes.
    On the init method of the form set the label width as follows.
    ControlName.labelWidht(1500);
     
    Thanks,
    Girish S.
  • Rahul Dahiya Profile Picture
    64 on 30 Jun 2023 at 08:33:15
    How to show the full label for a field on the form
    Hi Girish,
    I have set width property to 1500. we can see the full label in tooltip but still its not expanded after opening the form.
     
     
     
    Thanks,
    Rahul
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on 30 Jun 2023 at 08:32:17
    How to show the full label for a field on the form
    Hi,
    According to your problem description, it seems that you can't adjust the width of the label from a business perspective without dragging the tab left and right, but we found a post for you that is similar to the question, in which someone made a different suggestion from a development point of view, you can use it as a reference, the link is as follows: 动态社区论坛主题详细信息 (dynamics.com)
    Best regards,
    Kevin
  • GirishS Profile Picture
    27,823 Moderator on 30 Jun 2023 at 07:42:37
    How to show the full label for a field on the form
    Refer to the property screenshot.
     
    Refer to the output on the form. Its expanded but I am not sure whether the label id gets expanded. If possible, can you provide the screenshot.
     
    Thanks,
    Girish S.
  • GirishS Profile Picture
    27,823 Moderator on 30 Jun 2023 at 07:39:01
    How to show the full label for a field on the form
    I tried that and its working for me.
    Can you show us the screenshot of the property?
     
    Thanks,
    Girish S.
  • Rahul Dahiya Profile Picture
    64 on 30 Jun 2023 at 07:34:17
    How to show the full label for a field on the form
    Hi Girish,
    thanks for the quick reply.
    Actually I know its not very common to have this much long label but its client requirement on a field.
    I tried to set width mode & width property but that's not working for this current requirement.
     
    Thanks,
    Rahul

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete