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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Max Width on form not working

(0) ShareShare
ReportReport
Posted on by

Hi,

I‘m trying to set a maximum width on a form, but it doesn’t seem to be working.

The form does appear as a modal dialog, specifically when clicking to add a new item while in the lookup dropdown. But because the form only has a few fields, the current size appears far too wide (currently looks to be about 80-90% of the screen).

I tried to adjust the width in the form setting to 500px max, but it doesn’t seem to be working. I’ve ensured to publish my changes, and have make dummy edits to the form, which I can see.

I tried to set maxWidth in the FormXML, but that doesn’t seem to be working either.

I was hoping someone might have any ideas or tips to get this working? Ideally, I’d be able to get the width to max 500px.

Thanks!

08DB487E_2D00_BC53_2D00_4013_2D00_BA22_2D00_9A9FC98A29B0.jpeg

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi vanfog,

    I tested this on my side. 

    pastedimage1662111866214v1.png

    And get the same result on UI.

    pastedimage1662111927513v2.png

    However, it can work on CI:

    pastedimage1662111965950v3.png

    You could raise a ticket to consult Microsoft.

    And there is a workaround in this thread by unsupported way:

    How to resize a form to autofit a screen? - Microsoft Dynamics CRM Forum Community Forum

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans