Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

AddOnKeyPress and ShowAutoComplet depreciation

(0) ShareShare
ReportReport
Posted on by

Hi,

We are using the AddOnKeyPress & ShowAutoComplet functionalities to retrieve addresses from an Open Data repository via API.

The user enter an address, or a part of it, and as he does so a suggestion is proposed that he can select. If no result is found, by selecting "No result", the user can enter the address manually. 

We use the following methods for the suggestion of addresses in our specific Javascript developments:
- AddOnKeyPress: The event is triggered when a key producing a character is pressed while entering the postal address.
- ShowAutoComplete: The list of returned addresses is displayed automatically after querying an API.

Unfortunately, these methods are no longer supported by the new UCI.

In principle they have been replaced by Custom Controls except that :
o The "AddOnKeyPress" method is not present in the list of controls.
o The "AutoComplete" method is present but it does not meet our needs for several reasons:

1. The auto complete returns only the records of an entity to be specified in the configuration while We retrieve the postal addresses from a custom API.
2. The search when entering is not relevant.

Thank you for your help ! :) 

  • Verified answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: AddOnKeyPress and ShowAutoComplet depreciation

    Hi Elliott,

    Have you checked those Power Apps Component Framework (PCF) examples that seem to achieve what you are describing?
    https://pcf.gallery/categories#address

    Implementing a PCF custom control might indeed be the way to go in Unified Interface.

    Henry

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans