web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Resizing the Note field in Form DocuView

(0) ShareShare
ReportReport
Posted on by 4,079
Right now when looking at Attachments in D365, the form looks like this.
 
And the customer has asked if it would be possible to make the Notes field wider and higher.
I have found a way to make the field wider, but when I try to make it higher, that does not work.
Since I need to extend the standard form DocuView and when making an extention of the form it does not seem to be possible to edit the fields properties.
So instead I have made the following extention class.
 
internal final class CUS_DocuViewForm_EventHandler
{
    [FormEventHandler(formStr(DocuView), FormEventType::Initialized),
    public static void DocuView_OnInitialized(xFormRun sender, FormEventArgs e)
    {
        FormControl notesControl = sender.design().controlName('DocuRef_Notes');
        
        if (notesControl)
        {
            notesControl.width(500);
            notesControl.height(500);
        }
    }
}
And the width seems to work, but the height does not work as expected, this is how the form looks with this change.
 
 
So while the Height of the notes field is larger, the number of lines shown from the note is not.
Does anyone know how I can change the size of the note field on the form?
Categories:
I have the same question (0)
  • Verified answer
    Sohaib Cheema Profile Picture
    49,670 Super User 2026 Season 1 on at
    Hi,
    Provided, when you extend the form, the field does not allows you to modify width and height mode (as those are locked)
     
    One solution that I can think of is the use of a new tab with pattern Fill Text, it has been discussed in the past (https://community.dynamics.com/forums/thread/details/?threadid=0250cc82-fa0b-4cd0-bf65-7d56afa1c113)
     
    The new tab would look something like this (when both the Height Mode and Width Mode are set as SizeToAvailable)
     
     
     
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 576 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 366

#3
Adis Profile Picture

Adis 256 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans