The Return of Composite Address Control in Model-driven Apps – Now with Built-in Autocomplete Functionality

What is this OOB custom control?
A preview feature is a feature that is not complete, but is made available before it’s officially in a release so customers can get early access and provide feedback. Preview features aren’t meant for production use and may have limited or restricted functionality.
Microsoft doesn't provide support for this preview feature. Microsoft Dynamics 365 Technical Support won’t be able to help you with issues or questions. Preview features aren't meant for production use and are subject to a separate supplemental terms of use.
How does the address autocomplete functionality work?
Can I enter the address manually?
Is it available to any model-driven app?
Why can't I find it under the list of custom controls?
How can I use this control on my form then?
What changes do I need to add to FormXml?
<control id="address1_line1" classid="{F9A8A302-114E-466A-B582-6771B2AE0D92}" datafieldname="address1_line1" disabled="false" />
<control id="address1_line1" classid="{F9A8A302-114E-466A-B582-6771B2AE0D92}" datafieldname="address1_line1" disabled="false" uniqueid="{815D8A5B-6355-47B5-9500-EE2D658820D5}" />
<controlDescription>
.
.
.
.
.
<controlDescription forControl="{815D8A5B-6355-47B5-9500-EE2D658820D5}">
<customControl id="{4273EDBD-AC1D-40D3-9FB2-095C621B552D}">
<parameters>
<datafieldname>address1_line1</datafieldname>
</parameters>
</customControl>
<customControl name="Microsoft.AddressInputUCI" formFactor="0">
<parameters>
<Address>address1_line1</Address>
<Street1>address1_line1</Street1>
<Street2>address1_line2</Street2>
<Street3>address1_line3</Street3>
<City>address1_city</City>
<StateOrProvince>address1_stateorprovince</StateOrProvince>
<CountryOrRegion>address1_country</CountryOrRegion>
<ZipOrPostalCode>address1_postalcode</ZipOrPostalCode>
<WriteToPrimaryField static="true" type="Enum">True</WriteToPrimaryField>
<AddressFormFormat static="true" type="Enum">NZ</AddressFormFormat>
<KeyProvider static="true" type="Enum">FS</KeyProvider>
</parameters>
</customControl>
<customControl name="Microsoft.AddressInputUCI" formFactor="1">
<parameters>
<Address>address1_line1</Address>
<Street1>address1_line1</Street1>
<Street2>address1_line2</Street2>
<Street3>address1_line3</Street3>
<City>address1_city</City>
<StateOrProvince>address1_stateorprovince</StateOrProvince>
<CountryOrRegion>address1_country</CountryOrRegion>
<ZipOrPostalCode>address1_postalcode</ZipOrPostalCode>
<WriteToPrimaryField static="true" type="Enum">True</WriteToPrimaryField>
<AddressFormFormat static="true" type="Enum">NZ</AddressFormFormat>
<KeyProvider static="true" type="Enum">FS</KeyProvider>
</parameters>
</customControl>
<customControl name="Microsoft.AddressInputUCI" formFactor="2">
<parameters>
<Address>address1_line1</Address>
<Street1>address1_line1</Street1>
<Street2>address1_line2</Street2>
<Street3>address1_line3</Street3>
<City>address1_city</City>
<StateOrProvince>address1_stateorprovince</StateOrProvince>
<CountryOrRegion>address1_country</CountryOrRegion>
<ZipOrPostalCode>address1_postalcode</ZipOrPostalCode>
<WriteToPrimaryField static="true" type="Enum">True</WriteToPrimaryField>
<AddressFormFormat static="true" type="Enum">NZ</AddressFormFormat>
<KeyProvider static="true" type="Enum">OrgSetting</KeyProvider>
</parameters>
</customControl>
</controlDescription>
.
.
.
.
.
</controlDescriptions>
What are the properties of Address Input custom control?
- Mapping to the following x7 address fields
- Street 1
- Street 2
- Street 3
- City
- State/Province
- Country/Region
- Zip/Postal Code
- Write to primary field - Whether or not the select address is to be populated to the text field to which the Address Input custom control is bound.
- Address Form Format - Format the address value as a composite field based on the country specified
- Key Provider - Specify which Bing Maps Key to be used
Can I use this Address Input on the forms of a custom table?
While waiting for this feature to come out of preview, what other OOB options do we have for address autocomplete functionality in Production?
What if this Address Input does not meet the requirements for my address fields?
- Control what fields should be visible and what is not.
- Use lookups instead of text fields for Countries/States.
- Reorder the fields in the popup.
- Have custom formatting of the full address.
Known Issue: Why is the control only shows the address suggestions in the US?
Summary
Published on:
Learn moreRelated posts
Why Plugin Depth Matters in Dynamics CRM
Plugin development in Dynamics CRM is one of the most advanced and intricate components, requiring deep expertise in the platform's event pipe...
Debunking: Dynamics CRM Destination – How Text Lookup Works
When we want to push data to Dataverse/Dynamics CRM using SSIS – KingswaySoft, usually there are relationships (lookup) that we need to ...
Understanding Activity Party Types in Dynamics 365 CE
Dynamics 365 Customer Engagement features 11 unique activity party types, identified by specific integer values in the ActivityParty.Participa...
Debunking: KingswaySoft Dynamics CRM Source- Output Timezone
Hi! I’m back after so a long hiatus (probably I’ll write the reason for this later 🤣). As [lazy] Developers, we’re most lik...
How to configure donotreply email using Shared mailboxes in Dynamics 365 CE?
This article explains how to create and configure a Shared Mailbox in Microsoft 365 for sending emails to users in Dynamics 365 CE. It details...
Enhancing Knowledge Retrieval with Microsoft Copilot Agents in Dynamics CRM and SharePoint
Studies show that 70% of employees spend unnecessary time searching for information across multiple systems, leading to productivity losses an...
{How to} become MCT Microsoft Certified Trainer on Microsoft Dynamics 365 Customer Engagement step by step instructions
Hello Everyone,Today i am going to share guidelines on becoming Microsoft Certified Trainer on Microsoft Dynamics 365 Customer Engagement or P...
Default Value vs. Current Value in Dynamics 365 CE: Key Differences
In Dynamics 365 CE (Customer Engagement), environment variables are used to manage configuration settings for solutions. When dealing with env...
How to Write and Understand a Dynamics CRM Plugin
Here’s a sample plugin code in Dynamics CRM written in C#, along with a detailed explanation of each line. This plugin will update the "...
Dynamics 365 CE Solution Import Failed in Azure DevOps Pipelines
Got the below error while importing Dynamics CRM Solution via Azure DevOps Pipeline. 2024-12-18T23:14:20.4630775Z ]2024-12-18T23:14:20.74...