Skip to content
A PCF that implements an address suggestion from canada post.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

PCF-CanadaPost-AddressComplete - Description

A PCF that implements an address suggestion from canada post.

This custom control is basically an address auto complete that fills all the bound address fields.

The addresses are retrieved from canada post api ,therefore you would need an api key by registering to their website.

here is an example: Alt text


For some reasons, you cannot bind address composite fields such as address1_country or address1_stateorprovinve from contact and account entity but may be used directly inside address entity or any custom text fields will work.

In the demo above, it has been used on custom text fields.


Simply download the managed solution and import it into your CDS environment.

Customization & setup guide

Configuration options

  • API Key - api key from your canada post account.

  • Country code - Default country code to use to retrieve address suggestions as user types

  • Allow user to change country - type "true" to enable this feature otherwise user cannot change the country.

  • Enables canadapost logo if set to "true" , It displays the address complete logo on the suggestion dropdown. Alt text Alt text

You can’t perform that action at this time.