Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

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

(0) ShareShare
ReportReport
Posted on by 54
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
    André Arnaud de Cal... 292,234 Super User 2025 Season 1 on at
    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
    GirishS 27,821 Super User 2024 Season 1 on at
    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
    Rahul Dahiya 54 on at
    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
    Rahul Dahiya 54 on at
    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
    GirishS 27,821 Super User 2024 Season 1 on at
    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
    Rahul Dahiya 54 on at
    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
    Kevin Xia Microsoft Employee on at
    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
    GirishS 27,821 Super User 2024 Season 1 on at
    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
    GirishS 27,821 Super User 2024 Season 1 on at
    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
    Rahul Dahiya 54 on at
    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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans