cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dhananjay_Patil
Helper IV
Helper IV

How to call REST API to fetch data from extrnal server in PowerApps Portal

Hello 

I am trying to call rest API using JQuery ajax funtion in PowerApps portal.


Is there any other way to call API in PowerApps Portal?

2 ACCEPTED SOLUTIONS

Accepted Solutions
OliverRodrigues
Super User
Super User

if your API is a data source you can also have it under the CDS level via virtual entities: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/virtual-entities/get-starte...

if you don't need it in CDS or even your API is not a data source, you should be fine with jQuery/Ajax calls




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

View solution in original post

yes there is no problem on doing that

you can add your code in the JavaScript section of your web page 




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

View solution in original post

4 REPLIES 4
OliverRodrigues
Super User
Super User

if your API is a data source you can also have it under the CDS level via virtual entities: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/virtual-entities/get-starte...

if you don't need it in CDS or even your API is not a data source, you should be fine with jQuery/Ajax calls




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

Than you for reply

Can I skip using CDS and connect with SQL server hosted on Azure cloud to get data and send data using jQuery/Ajax calls?

yes there is no problem on doing that

you can add your code in the JavaScript section of your web page 




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

summitb
Memorable Member
Memorable Member

You can use custom connector follow the following video.
https://youtu.be/7J0Ep3FPmJ4

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (4,094)