Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 3XyX3K4z/TrrottyNITLNy
Power Apps - Building Power Apps
Unanswered

Connecting to Postal Service Database

Like (1) ShareShare
ReportReport
Posted on 8 Feb 2025 20:47:23 by 4,607 Super User 2025 Season 1
Is the following possible in Power Apps (using SharePoint as the backend)?

************************************************************************************************
Please use an address form auto-fill tool (like when you are ordering something
Online
 and you start typing your address and it finds it from the postal service
database)
Categories:
  • Robu1 Profile Picture
    1,049 Super User 2025 Season 1 on 08 Feb 2025 at 21:29:15
    Connecting to Postal Service Database
    Hi  ,
     
    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading started