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

Notifications

Announcements

No record found.

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 30

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 46 Most Valuable Professional

#2
Pallavi Phade Profile Picture

Pallavi Phade 33

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 28 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans