Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

AddOnKeyPress and ShowAutoComplet depreciation

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans