PCF_getAddressIO
A PowerApps Component Framework solution for Address (UK) lookups via post code
Get Started
- First ensure you have installed the PowerApps CLI
- run
npm install
to download the required npm packages - Use
npm run build
to build/compile the source code - Use
npm run start
to run the component within the PCF Test Harness - In a developer command prompt run
msbuild /t:rebuild
from within the Solutions folder to package the solution
Usage
NB. More detailed usage instructions are coming soon.
- Get an API Key from https://getaddress.io/
- Install the solution
- either using the solution package generated in the Get Started section
- or via the latest release
- On a form with address controls change the post code fields control to use this getAddressIO control
- Bind the control properties to your address fields *
*At present you cannot bind the control to the out of the box address fields see here I have built the control to support 2 methods of mapping the control output to the out of the box address fields.
- Option 1: Map the individual address properties to custom fields and then have onchange events to copy the value to the out of the box fields.
- Option 2: Map the JSON property to a single custom string field and then have javascript to parse the JSON on change and write the corresponding values to the out of the box address fields