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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2016 - Document Template with multiline text

(0) ShareShare
ReportReport
Posted on by 35

Hi all,

I have several text area/multiline text field in my entity, and user would often enter data that contains line break. E.g. bulleted text etc.

However, I'm unsure how to get a plain text control in the document template to render (and not strip out) the line break. I've also tried with rich text control with no luck.

Any ideas? Thanks!

Regards,

Jacky

*This post is locked for comments

I have the same question (0)
  • jacky.chen84 Profile Picture
    35 on at
    RE: CRM 2016 - Document Template with multiline text

    Hi Sneha,

    I haven't tested this in CRM 2016. That may mean you have to find an alternative method. Some of the replies above included 3rd party add-ons that may be able to resolve your issue.

    Good luck.

    Regards,

    Jacky

  • SnehaDohale Profile Picture
    95 on at
    RE: CRM 2016 - Document Template with multiline text

    Hi Jacky,on CRM 365 its working but its not working on CRM 2016

  • Suggested answer
    jacky.chen84 Profile Picture
    35 on at
    RE: CRM 2016 - Document Template with multiline text

    Hi Sneha,

    It's still working for me although we are using D365 CRM online.

    1. In the MS Word template you need to select the inserted plain text control.

    MS-Word-Multiline.png

    2. Then you need to click on the Developer tab and select Properties. Check the Allow Carriage Return tickbox and click ok.

    MS-Word-Multiline.png

    3. If you upload the new template and regenerate the document from CRM it should work.

    Hope that helps.

    Regards,

    Jacky

  • Ged At Dynamics Objects Profile Picture
    on at
    RE: CRM 2016 - Document Template with multiline text

    Unfortunately  CRM Word Template does not support multiline text.

    If you need the following features not supported in Word Template, multiline text, logical operations, hide text, merge documents and similar you then need Dynamics Docs:

    http://www.dynamicsobjects.com/Solutions-for-Digital-Transformation/Dynamics-Docs

    You can download free trial to test the solution

    Ged

  • SnehaDohale Profile Picture
    95 on at
    RE: CRM 2016 - Document Template with multiline text

    Hi Jacky,I tried same steps on MSCRM 2016 version as you mentioned here but it's not working for me.

  • Verified answer
    jacky.chen84 Profile Picture
    35 on at
    RE: CRM 2016 - Document Template with multiline text

    Hi all,

    One year on I finally found the answer. The setting you need to configure is in MS Word.

    In MS Word, after you have added the plain text content control, select the control and navigate to the Developer tab. In the control section, click Properties. In the popup dialog, check the box for "Allow carriage returns (multiple paragraphs)".

    Kind regards,

    Jacky

  • Ged At Dynamics Objects Profile Picture
    on at
    RE: CRM 2016 - Document Template with multiline text

    This issue is resolved with Dynamics Docs.

    Dynamics Docs can PDF Word Templates populated with fields from CRM records and the solution works with all CRM versions not just with CRM 2016 onward.

    www.DynamicsObjects.com

  • zabby Profile Picture
    on at
    RE: CRM 2016 - Document Template with multiline text

    I have this issue as well.  Even trying to convert the line breaks (\n) to include a carriage return (\r\n) did nothing.  Word still reads them as spaces.

    I've submitted a CRM Idea here.  Hopefully they see it and there are enough votes.

  • Community Member Profile Picture
    on at
    RE: CRM 2016 - Document Template with multiline text

    Hello there,

    Did you find a solution to this problem?

    If the answer is yes;

    How do I solve the problem?
    Can you explain in detail?

    Best Regards

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: CRM 2016 - Document Template with multiline text

    Rich text fields are not yet supported properly - the carriage returns get stripped before they get to the document, but Word rich text controls handle paragraphs just fine. Hopefully this will be improved in the next version.

    Various third party apps can handle this. Certainly Xperido from Invenso, and probably Documents Core Pack from MSCRM Addons (which I have not used)

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans