Skip to main content
Dynamics 365 general forum
Answered

Show Notes Text on Global Search of Notes

editSubscribe (0) ShareShare
ReportReport
Posted on by UG Leader

Recently, we have enabled Global Search on Notes entity. The search works fine however, in the search results the Description of the Note is shown in HTML text rather than Plain text.

Search results for Relevance Search

6505.RelevanceSearchNotesHTML.PNG 

Search results for Categorized Search

3681.CategorizedSearchNotesHTML.PNG

Is there a way to show just the plain text of Notes body here?

  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: Show Notes Text on Global Search of Notes

    Thanks for the detailed answer. That was very helpful.

  • Verified answer
    LuHao Profile Picture
    LuHao 40,832 on at
    RE: Show Notes Text on Global Search of Notes

    Hi Aakarsh,

    This is by design.

    When you enable "Enable rich text notes in Timeline" in the system settings, all notes created after enabling it will contain HTML-Syntax.

    If you disable "Enable rich text notes in Timeline", the newly created notes afterwards will not contain HTML-Syntax.

    4503.pastedimage1612507810007v1.png

    For the notes that already contain HTML-Syntax, we can only delete their HTML-Syntax manually. Microsoft will not provide the function of automatically deleting HTML-Syntax, because this may cause the consequences of deleting data by mistake.

    The following is a comment from the Microsoft support engineer on this issue.

    "Reports will always display the html tags for records that were created when rich text notes was enabled until the customer removes them from the source records.  If you have rich text notes enabled and create 10 notes and then disable rich text. And create records 11-20. When you export out the description for notes 1-20 you will see html tags in 1-10 and no html tags in 11-20. It is the customer responsibility to remove the html tags (either in the source or in the report processing).

    The rich text notes for timeline was introduced in April 2020 Wave 1 - https://docs.microsoft.com/en-us/dynamics365-release-plan/2020wave1/dynamics365-customer-service/rich-text-notes-keyword-search-timeline.  The ability to enable or disable rich text notes is documented at https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/set-up-timeline-control#enable-or-disable-rich-text-editor-for-notes-in-timeline.  When the customer disables rich text any notes that have been created while rich text was enabled will continue to have the html tags since that is how the rich text formatting is rendered. It is the responsibility of the customer to determine the best strategy for removing these html tags. We don't remove the html tags because our assumptions of data removal could result in data loss.

    Once you have disabled rich text notes, the subsequent notes that are created will no longer have any formatting and therefore you will no longer encounter html tags in exported data. However, you will need to come up with a strategy for removing the tags from any of the notes which were created while rich text was enabled."

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans