Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Max Width on form not working

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

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Max Width on form not working

    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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans