Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Facing issue in searching emails having emojis

(0) ShareShare
ReportReport
Posted on by 38

Hi Guys,

We are facing issue in searching emails having emojis.

Scenario: We have implemented search bar using angular, in that we have to search for emojis from the email description and highlight the searched emoji.

Here is the link from where we use emoji to copy & paste.

Searching emojis is giving us a problem that if we search any emoji it retrieves all the records with or without emojis. For retrieving we are using Xrm WebApi retrievemutiple method.

Below is the screenshot of the fetch we are using, while retrieving in fetch smiley comes which is searched:

pastedimage1674023363027v1.png

Below is the record which contains emoji  and the records which does not contains emoji:

pastedimage1674023373337v2.png

We have found this same issue when searching from advanced find 

pastedimage1674023700908v3.png

We tried searching using Unicode value of the emoji, encoding the fetch as well as the emoji itself but it didn't help.

We also checked the description actual value using the OData query and found that CRM is storing the emoji  in some text format.

We have highlighted the code in the below image 

pastedimage1674024147228v5.png

Decoding the value gives us the emoji 

pastedimage1674024262702v6.png

We have also serched using the encoded emoji text However, it doesn't return any record

pastedimage1674024354289v7.png 

We have also searched in SQL , there we observed that emoji is displayed

pastedimage1674025295462v8.png 

Any help would be appreciated.

Thanks

  • Sheldon Copper Profile Picture
    Sheldon Copper 38 on at
    RE: Facing issue in searching emails having emojis

    Hi,

    Thank you for your suggestion.

    We will try implementing this at our end.

    Thanks

  • Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Facing issue in searching emails having emojis

    Hello Sheldon,

    Are you using UTF-8 encoding?

    Also, You can write a plugin for the retrievemultiple message and replace the text representation of the emoji characters with the actual emoji characters.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans