web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Constituency data

(0) ShareShare
ReportReport
Posted on by 177
I am very new to Power Apps. I am trying to add a Custom Connector in my Contact table. I want to be able use a postcode that is entered to work out the constituency that that postcode is in and to auto-populate a Constituency field. I'm struggling to know what information I need to put on each of the pages from (3) Definitions onwards. The host page is theyworkforyou.com. If anyone can help me with the data I need to insert in each of the fields in the Custom Connector or suggestions for another host page, if that is better, is good too. 
Categories:
I have the same question (0)
  • Verified answer
    vipuljain03 Profile Picture
    657 Super User 2025 Season 2 on at
    You are using TheyWorkForYou.com API.
     
    The first and foremost step would be to get the API key. Maybe signup with TheyWorkForYou.com API and get the API key and save it.
     
    1) Configure the General page in custom connector:
    • Scheme: HTTPS
    • Host: www.theyworkforyou.com
    • Base URL: /api/
    2)  Configure Authentication (API Key)
     
    3) Definition
    • Create a new Action and name it GetConstituencyFromPostcode.
    • Fill in General Settings => Summary, Description and Operation ID (GetConstituency)
    • Setup the Request
    • Define the Response
      • Click "Add default response"
      • Click "Import from sample"
      • Enter a sample response
        • {
                   "name": "India"
                }
           
    4) Test your custom connector
     
    --------------------------------------------------------
    If this reply helped you, please mark this reply as suggested answer ✔️ and give it a like to help others in the community find the answer too!
    Thanks,
    Vipul
  • CD-28031715-0 Profile Picture
    177 on at
    Thank you Vipul. I think I'm getting there... I followed your instructions and a Youtube video... I'm not sure that I've done everything quite right, but when I look at a list of current connections it says that it is Connected! I don't know how to incorporate it into my Model Driven App though... I will try and find a video to help, but if you see this reply and can point me in the right direction, I'd be very grateful. Thanks very much for your guidance so far! 
  • vipuljain03 Profile Picture
    657 Super User 2025 Season 2 on at
    Refer this video to get insights on Custom Connector and how you can use them in Canvas App - https://www.youtube.com/watch?v=A5rljz91zaM
  • CD-28031715-0 Profile Picture
    177 on at
    Hi Vipul, thanks. I'll try to incorporate the custom connector in a model driven app, not canvas app. I'll try watching your video though and see if it enlightens me. 
  • CD-28031715-0 Profile Picture
    177 on at
    Your video is very useful Vipul, but I've got an error... I don't know what needs to go in the Output section. Also once I've got this sorted, I still don't quite understand how I instruct Power Apps to use the data in the Postcode column to populate the Constituency column in the same Table. Thanks so much for your help so far. 

     
  • CD-28031715-0 Profile Picture
    177 on at
    @vipuljain03 I don't think you've seen my reply below, to be fair I didn't tag you... Are you able to help me please? I feel like I'm nearly there but just need that final bit of help...

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard