
I have added the Auto-Complete custom control on a text field for postal code on an entity. The postal codes are loaded from an custom postal code entity in which we load postal codes for different countries. However, we want only postal codes for the selected country (another field on the entity) to be shown in the auto-complete list.
As I see it, this is not possible in the control configuration on the field and was thus contemplating doing this in Javascript, but can see no documentation nor any relevant methods on the control when browsing the object structure in Chrome development tools.
I miss the the flexibility provided by the Dynamics CRM 2016 as explained in this post: https://community.dynamics.com/crm/b/crminogic/archive/2015/12/17/design-auto-complete-text-controls-in-dynamics-crm-2016
However, those parts of the Client API have been deprecated (as pointed out in the answers on this thread: https://community.dynamics.com/crm/f/117/t/305938).
Has anybody experience using the Auto-Complete control trying to configure it through Javascript? Any help would be appreciated.
Moreover, it seems the Auto-Complete on text fields does not initialize with existing field values: When loading the form on an existing entity that contains a value in the postal code field, the control shows the default value '---', which is incorrect.
We use Dynamics 365 Customer Engagement, Version 1710 (9.1.0.2437)
*This post is locked for comments
I have the same question (0)Hello Mikkel,
ATM it's not possible to configure autocomplete control in UCI the way you want. It will be possible to create own PowerApp Custom Control when it will be released this April.
Article from Inogic you provided will work for Classic UI but not for UCI.