Skip to main content

Notifications

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

  • 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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans