Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Connector Development
Answered

Constituency data

(0) ShareShare
ReportReport
Posted on by 74
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:
  • CD-28031715-0 Profile Picture
    74 on at
    Constituency data
    @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...
  • CD-28031715-0 Profile Picture
    74 on at
    Constituency data
    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
    74 on at
    Constituency data
    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. 
  • vipuljain03 Profile Picture
    417 on at
    Constituency data
    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
    74 on at
    Constituency data
    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! 
  • Verified answer
    vipuljain03 Profile Picture
    417 on at
    Constituency data
    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,518 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,756 Most Valuable Professional

Leaderboard

Featured topics