Skip to content

dotnetprog/PCF-CanadaPost-AddressComplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Now, you can bind address composite fields such as address1_country or address1_stateorprovinve

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.

  • useProvinceCode - fills the province or state field with code instead of name.

  • 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

About

A PCF that implements an address suggestion from canada post.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published