Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Auto-Complete Email Template field in a Custom Entity

(0) ShareShare
ReportReport
Posted on by 17,076

Hi All,

I have got a single line of text field called Email Template in a custom entity. I am trying to auto-complete this field retrieving all the existing email templates and showing them in the resultSet. I referred the link below for achieving this functionality.

http://dynamicscrmcoe.com/new-autocomplete-feature/

I used the code below.

ext.getEventSource().showAutoComplete(resultSet);

While debugging the javascript, I am able to get the filtered results on the key press event in the resultSet. But no results are displayed underneath the email template field.

Can anybody help me in solving this issue?

Is it true that auto-complete feature doesn't work for fields in a custom entity?

*This post is locked for comments

  • Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
    RE: Auto-Complete Email Template field in a Custom Entity

    Any other suggestions on this issue?

  • Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
    RE: Auto-Complete Email Template field in a Custom Entity

    Hi Kunal Tripathy,

    I tried the same code in a text field in Account entity. It is properly showing all the values there.

  • Suggested answer
    imKtripathy Profile Picture
    imKtripathy on at
    RE: Auto-Complete Email Template field in a Custom Entity

    HI Nithya, you might have missed a step. The auto complete feature is not restricted to  custom entity or fields. It works for all single linke text field.

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