Thank you for choosing Microsoft Community.
Yes, it's possible to implement an address auto-fill feature in Power Apps using SharePoint as the backend! You can use the Address Input Control in Power Apps, which uses fuzzy logic to suggest potential address matches as users type.
Here's a high-level overview of how you can set this up:
Enable Geospatial Services: Before you can use the address input control, you need to enable geospatial features for your Power Apps environment. This can be done by an admin in the Power Platform admin center.
Add Address Input Control: In Power Apps Studio, go to the Insert tab, expand the Input section, and select the Address Input control. Place it on your app screen.
Set Default Search Radius: You can set a default search radius to help narrow down the initial results. On the address input control's properties tab, turn on the "Search within radius" property and enter the desired longitude, latitude, and radius in meters.
Use the Map Control: You can add a map control to your app and use it in conjunction with the address input control. This allows users to see the suggested addresses on a map and select the correct one.
Save and Retrieve Addresses: You can add a button to your app to save entered addresses as a data collection. Then, you can retrieve the addresses and display them in the map control.
Here's a basic example of how to save the selected address to a collection:
PowerApps
If(
IsBlank(AddressInput1.SearchResultJson),
Collect(locations, {Latitude: AddressInput1.SelectedLatitude, Longitude: AddressInput1.SelectedLongitude})
)
This formula saves the current latitude and longitude to a collection named locations as long as the search results aren't blank.
Here a few helpful videos:
If this fixes the issue, please mark as resolved to help others with find it.
Happy to help
Robu 1