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

README.md

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

Important!

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.

Installation

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.