Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Answered

Show Notes Text on Global Search of Notes

Posted on by Microsoft Employee

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 Microsoft Employee 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,866 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."

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans