Tip #717: Multi-line text on quick view forms

I will not use salesforce thumbnailQuick View forms are awesome, they are peekaboo utility for your records and can be used when summary information is required. There are some restrictions in place to make these forms fast and efficient.

One of the restrictions is that all formatting options for controls are taken away. As usually the case, baby was thrown out with the bathwater – it’s now impossible to set control to display multiple lines for, you know, multi-line text field. (And before you start pointing out that there are quick forms for cases and some other entities that display description fields on multiple lines: create a new quick form and try adding the description field to it. See? Those are system forms, created by CRM gods, after all).

David “CRM Baker” Crook to the rescue with some xml-twisting tip.

  1. Create new or edit an existing quick form.
  2. Add multi-line text field to the form as you normally would.
  3. Complete the form, publish.
  4. Create new solution, add the entity but select only that quick form (to keep xml shorter and things simpler).
  5. Export the solution as unmanaged.
  6. Extract customizations.xml from the zip file.
  7. Using your favorite xml editor, find the row and the cell elements that contain the control.
  8. Add rowspan attribute to the cell element.
  9. Add appropriate number of <row /> elements so that total number of rows is correct.
  10. If your <form> element has maxwidth attribute, ditch it.
  11. Save the file, add it to the solution zip file replacing the existing one.
  12. Import solution, publish.

Your XML should look like the following:

    <cell id="guid" showlabel="false" locklevel="0" 
        <label description="Description" 
               languagecode="1033" />
       <control disabled="false" id="description" 
          classid="guid" uniqueid="guid" 
          datafieldname="description" />
  <row />
  <row />
  <row />

I believe that this gymnastic is unsupported but like that ever stopped us before, right? Supported, people, supported, what Tanguy said.

20 thoughts on “Tip #717: Multi-line text on quick view forms

  1. Tanguy says:

    Actually this is supported as per the following MSDN article: https://msdn.microsoft.com/en-us/library/gg328486.aspx

  2. Fred says:

    Thanks for this! you can also add other xml elements such as:


    In the section node which I normally use with multi line text fields because hte UI looks a bit strange with the label on the left.

    full node:

  3. Andrew Perkin says:

    In 2016 on-prem, there is one anomaly. Try it with more than one multi row text box and you hit formatting issues. The fields appear offset to each other.

    I sorted that by putting each field in its own section..

    There is one outstanding issue though. Despite there only being one column the fields only fill part of the horizontal space. Oddly hiding the label and widening to 250 does provide more space…

    Suspect this may need some extra XML and if I work it out will let you know.

    • Yvan Leclerc says:


      I faced the same problem, e.g. the field only fills only part of the horizontal space (roughly 60%).

      How did you manage to widen to 250 pixels?


    • Eric-Jan says:

      @ Andrew

      Did you allready worked out the XML and can you please share it? Within our project we are facing the same problem right now.

  4. Kevin Bowman says:

    I overcome this by adding extra rows to account for the extra ones allocated in Rowspan

    so in the example where rowspan=”4″, add 3 new empty rows


  5. Paul says:

    Even though our customer goes a little bit to far on that one, your article helped me a ton. Thanks and keep up the good work!

  6. Bryson C says:

    This does not work with the D365 online. I’ve only tested in the unified interface. Not sure about classic. It partially works. The textarea is larger in the PowerApps form designer, but it’s still rendered small.

  7. Bryson C says:

    Follow up to my last post. It works in the Classic UI, not the new Unified interface.

  8. chandra says:

    it works only in classic UI and not in Unified interface. Any idea how to fix this in unified interface?

    • Tim says:

      I’m also trying to fix this in the Unified Interface. Any ideas?

    • Donal says:

      I’m also trying to fix this in the UCI.

      BTW – I think you should be able to do this with the FormXML Manager module in XRM Toolbox – much easier than editing the customizations.xml file.

      • Antonie says:

        Has anyone had luck with this in the Unified Interface?

      • Paul says:

        Thank you, thank you to both you and Tîpp.

        Indeed you can resolve (workaround) the issue using XRM Toolbox and the FormXML Manager tool. However, in my case with PowerApps it is not the QV form that was broken but the Main Form hosting the QV form.

        – Download XRM Toolbox from https://www.xrmtoolbox.com/
        – Run, update and install the additional tool called FormXML Manager
        – Use the connection wizard to create a connection to your CDS
        – Open FormManager XML and Load Entities
        – Navigate to the entity associated with the main form (not Quickview form)
        – Select the Main form and select Edit FormXML
        – Now the approach is pretty much the same as above:
        -Find tag for your QV form
        -Trace back through the XML to the tag and rowspan=”3″ – 3 is an example
        -Trace forward to the it should be followed by
        -Now add on subsequent lines to match the rowspan number less 1
        – Click Update & Publish on FormXML editor

        That should fix the issue

        • YonyM says:

          thank you!, it works for me in the new UCI.

          • Yash C says:

            @YonyM Brother could u plz share the XML piece which u edited? I added row span both to main form & Quick View form but still i dont see any increase in length of multi text field? BTW we are using UCI interface.

          • Mark Westerman says:

            I can’t get it to work on UCI, I can see in the designer that the field has the extra rows added but it still shows in UCI as a single row. Is there something I am missing?

            BTW FormXML editor was a great tip, much easier.

  9. PJC says:

    Anyone got an update on this issue in the new UI?


  10. Ron Scheuman says:

    Bump. Has anyone found a solution for this issue in the new Unified Interface (UI)?

Leave a Reply

Your email address will not be published. Required fields are marked *