Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Storing HTML content in Multiple Lines of Text field

Posted on by 15

Hello,

We are using CRM On-Premise v8.2 

We have a requirement to store Rich-Text (via CKEditor) content in a custom entity. 

The data is currently stored as plain HTML - e.g. <html><head>...</head><body>...</body></html> inside a Multiple Lines of Text field.

While this works for small contents, once the content gets too large (We stored almost 1 million HTML characters for testing purposes, but content can be as large as needs be) the record containing this data takes too much time to load.

How can we solve this problem?

Thank you.

Categories:
  • Suggested answer
    Nya Profile Picture
    Nya 29,050 on at
    RE: Storing HTML content in Multiple Lines of Text field

    Hi,

    It is recommended to integrate the Dynamics with the SharePoint and store the HTML into SharePoint as a file.

    Here is the documentation about the integration which you can refer to.

    Set up customer engagement apps to use SharePoint Online - Power Platform | Microsoft Docs

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Suggested answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,319 on at
    RE: Storing HTML content in Multiple Lines of Text field

    Hi,

    Thank you for your query.

    Try adding it another Tab (for example (Notes) and collapse it by default.

    This way, it will not be rendered when the form is loaded (or record is opened).

    Once user expand the tab, it will load.

    This should minimize the load time, also it is the best practice for sub-grids also (with large dataset).

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans