cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
david_castillo
Level: Powered On

PowerApps button to fetch data from an external source

Hey guys! I need to know if this is possible and if yes, how, with PowerApps. Basically what I need is a search text input with a button that fetches the data from a data source via API call, gets the data based on the unique number entered in the search text input, and pre-fills the PowerApps form fields with the fetched data. The form fields will then be submitted and saved into a SharePoint list. Here's the link of the sample UI (also attached is the powerappsbuttonapi.png) https://my.pcloud.com/publink/show?code=XZqGfx7ZYBmENpG2S2SCb2lvhOYkBkeCDr2V Hope anyone can help me out here, and point me in the right direction. Thanks
1 REPLY 1
Community Support Team
Community Support Team

Re: PowerApps button to fetch data from an external source

Hi @david_castillo,

 

What is your external source? Learn how to create custom connectors for canvas apps here:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/register-custom-api

 

If you could create the custom connector, then this could be achieved by using Patch function to update records to SharePoint list connection. 

 

The formula to update records to SharePoint list should be something like below:

Patch(ListName,Defaults(ListName),{Title:Label1.Text, Choice: Dropdown1.Selected,...})

 Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,222)